-
Notifications
You must be signed in to change notification settings - Fork 10.3k
View Components from a Class Library compilation after changes. #1905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I have similar issue |
I do remember encountering a compiler bug where the compiler did not recognize changes to the view file and did not update the embedded resource. I had assumed this was fixed by now but I guess not. |
can you find this bug report? what this meaning? |
@valentin78 The only but report I can find is this one aspnet/dnx#3396 but it is referencing the old dnx tooling which is no longer being used. |
@dpaquette , I also looked at your blog and I like your suggestion about plugins. However, any idea on how to include the cshtml files as embedded resources in the class library with .Net Core 1.1 which has csproj instead of project.json? That will be great because I am blocked for now. |
That worked with csproj EDIT: The EmbededResource seems to be no more needed in the latest update as it is included by default. |
as I understand, by extension, you use VS2017 ? Possible this issue appears only in VS2015 |
@dpaquette \ @valentin78, the CLI had a similar issue - https://github.com/dotnet/cli/issues/3176 where the application does not rebuild when content files change. According to the work item, the issue is no longer reproducible with the MSBuild tooling. So yes, the issue should not appear once the project retargets VS 2017. |
@valentin78 , correct I am using VS 2017, buggy but funny IDE! However, I also need to recompile the project to make it work, but it works. |
I understand, thank you all
my be someone can help me, how I can point multiple filters with one watcher? |
This issue is being closed because it has not been updated in 3 months. We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate. |
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
[email protected]
Domain spinthemoose.com has exceeded the max emails per hour (240/200 (120%)) allowed. Message will be reattempted later
…------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext7.iad.github.net ([192.30.252.198]:48912 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from <[email protected]>)
id 1eVQix-0000VV-C0
for [email protected]; Sat, 30 Dec 2017 17:39:31 -0600
Date: Sat, 30 Dec 2017 15:39:11 -0800
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1514677151;
bh=2zwD4fYiiqfw1vj34cz2AvbNPCL2muF81mOhzDaYeKY=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=LptWmU3gSZzwCj9R0ijjNCKfuhHH99TE5Z9r1o0QPyqC6X07UtZQ86s5NIIOwv1MR
uOP3E+4M47yf9fkM4skOrOT9TTURk5XuXmHp8+UIPbst4wEOXLzrNNKQtKylghiEBC
oIog1nF7r5BihYECjAC17aw9BKK6oqv7sh8BvCk4=
From: "ASP.NET Hello Bot" <[email protected]>
Reply-To: aspnet/Home <[email protected]>
To: aspnet/Home <[email protected]>
Cc: Subscribed <[email protected]>
Message-ID: <aspnet/Home/issues/1905/[email protected]>
In-Reply-To: <aspnet/Home/issues/[email protected]>
References: <aspnet/Home/issues/[email protected]>
Subject: Re: [aspnet/Home] View Components from a Class Library compilation
after changes. (#1905)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a48239f77d6c_44c73fb62e086f2813361fc";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post: <mailto:[email protected]>
List-Unsubscribe: <mailto:unsub+0000a944fb805bbc6d795e6754314def5635d4c69c46c81292cf00000001165fe59f92a169ce0c02ed76@reply.github.com>,
<https://github.com/notifications/unsubscribe/AACpRD5DCgh6ekFzyKkAIDf3pBVRL1eJks5tFsmfgaJpZM4LmpRI>
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: [email protected]
----==_mimepart_5a48239f77d6c_44c73fb62e086f2813361fc
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#1905 (comment)
----==_mimepart_5a48239f77d6c_44c73fb62e086f2813361fc
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<p>This issue is being closed because it has not been updated in 3 months=
.</p>
<p>We apologize if this causes any inconvenience. We ask that if you are =
still encountering this issue, please log a new issue with updated inform=
ation and we will investigate.</p>
<p style=3D"font-size:small;-webkit-text-size-adjust:none;color:#666;">&m=
dash;<br />You are receiving this because you are subscribed to this thre=
ad.<br />Reply to this email directly, <a href=3D"https://github.com/aspn=
et/Home/issues/1905#issuecomment-354575058">view it on GitHub</a>, or <a =
href=3D"https://github.com/notifications/unsubscribe-auth/AACpRA50w-o6VF4=
VdGJ7OKIsgm-jsL2Sks5tFsmfgaJpZM4LmpRI">mute the thread</a>.<img alt=3D"" =
height=3D"1" src=3D"https://github.com/notifications/beacon/AACpRLyJZn8pJ=
L8ZJakSomzz_Lni0PtIks5tFsmfgaJpZM4LmpRI.gif" width=3D"1" /></p>
<div itemscope itemtype=3D"http://schema.org/EmailMessage">
<div itemprop=3D"action" itemscope itemtype=3D"http://schema.org/ViewActi=
on">
<link itemprop=3D"url" href=3D"#19
05#issuecomment-354575058"></link>
<meta itemprop=3D"name" content=3D"View Issue"></meta>
</div>
<meta itemprop=3D"description" content=3D"View this Issue on GitHub"></me=
ta>
</div>
<script type=3D"application/json" data-scope=3D"inboxmarkup">{"api_versio=
n":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name"=
:"GitHub"},"entity":{"external_key":"github/aspnet/Home","title":"aspnet/=
Home","subtitle":"GitHub repository","main_image_url":"https://cloud.gith=
ubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c=
7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/=
143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name=
":"Open in GitHub","url":"https://github.com/aspnet/Home"}},"updates":{"s=
nippets":[{"icon":"PERSON","message":"@aspnet-hello in #1905: This issue =
is being closed because it has not been updated in 3 months.\r\n\r\nWe ap=
ologize if this causes any inconvenience. We ask that if you are still en=
countering this issue, please log a new issue with updated information an=
d we will investigate.\r\n"}],"action":{"name":"View Issue","url":"https:=
//github.com/aspnet/Home/issues/1905#issuecomment-354575058"}}}</script>=
----==_mimepart_5a48239f77d6c_44c73fb62e086f2813361fc--
|
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
[email protected]
Domain spinthemoose.com has exceeded the max emails per hour (241/200 (120%)) allowed. Message will be reattempted later
…------- This is a copy of the message, including all the headers. ------
Received: from o11.sgmail.github.com ([167.89.101.202]:55503)
by cp1164.blacksun.ca with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128)
(Exim 4.89_1)
(envelope-from <[email protected]>)
id 1eVQj0-0000Vw-5E
for [email protected]; Sat, 30 Dec 2017 17:39:34 -0600
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com;
h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe;
s=s20150108; bh=68gkNMYcXQGRJxa33aXGANbQqco=; b=f1D5ZAdWrTLbm/HT
3r7+itRn74VNWCcldedAqGUGvL1MUEZrqA35fP6bUkrA9v63GUeNeLcwvCxR614R
IBXqUj2aPs+qpXbbF/Q/lCH1rYRsSzpG86OjoCc2Wb57GcVFl7Or+ImoH3C/92Qz
3n+ek0vPQfdgAClLTyZHJbiAsz4=
Received: by filter0989p1mdw1.sendgrid.net with SMTP id filter0989p1mdw1-18898-5A4823A2-1
2017-12-30 23:39:14.215765091 +0000 UTC
Received: from github-smtp2a-ext-cp1-prd.iad.github.net (github-smtp2a-ext-cp1-prd.iad.github.net [192.30.253.16])
by ismtpd0022p1iad2.sendgrid.net (SG) with ESMTP id flnkt0f7TEWaeUf3jdVsYg
for <[email protected]>; Sat, 30 Dec 2017 23:39:14.212 +0000 (UTC)
Date: Sat, 30 Dec 2017 23:39:14 +0000 (UTC)
From: "ASP.NET Hello Bot" <[email protected]>
Reply-To: aspnet/Home <[email protected]>
To: aspnet/Home <[email protected]>
Cc: Subscribed <[email protected]>
Message-ID: <aspnet/Home/issue/1905/issue_event/[email protected]>
In-Reply-To: <aspnet/Home/issues/[email protected]>
References: <aspnet/Home/issues/[email protected]>
Subject: Re: [aspnet/Home] View Components from a Class Library compilation
after changes. (#1905)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5a4823a21a046_5223f85a781af303420be";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: aspnet-hello
X-GitHub-Recipient: davidalpert
X-GitHub-Reason: subscribed
List-ID: aspnet/Home <Home.aspnet.github.com>
List-Archive: https://github.com/aspnet/Home
List-Post: <mailto:[email protected]>
List-Unsubscribe: <mailto:unsub+0000a944ac0a334cc1740250233a0e9da344a27faa953c7192cf00000001165fe5a292a169ce0c02ed76@reply.github.com>,
<https://github.com/notifications/unsubscribe/AACpRFD2HVRc-Va8wG3tAU2WFNo38ln6ks5tFsmigaJpZM4LmpRI>
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: [email protected]
X-SG-EID: rlj3t9ahcX0BZUzAOlajQ3VmBXo43xFJc4M1ImIDJhEGmL6MwTIMP8OTqtzue8GuflIfYrnTOyrYsp
L1dS2ge5uti4PFHZqDNxBGz0IAEO5kl18wZOv75z0p4j6y+yrVyp2SsFrGzb/oMs74pWtn/uekKFDJ
V15mMRW6g4LHlDswguuBi8YNSsCJuj6YnAQpDmTMuOYaegqyQT8VFSdBGwvghl679W3fUPeN+yi0MC
k=
----==_mimepart_5a4823a21a046_5223f85a781af303420be
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #1905.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#1905 (comment)
----==_mimepart_5a4823a21a046_5223f85a781af303420be
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
<p>Closed <a href="#1905" class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="201518454" data-permission-text="Issue title is private" data-url="#1905>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="#1905 (comment) it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AACpRG6cJU2eu_PxT_NVLlmM9kE2nbZmks5tFsmigaJpZM4LmpRI">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AACpRKzMf5hYQUqt9TZfXNsdWdvyX2nGks5tFsmigaJpZM4LmpRI.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="#1905 (comment)>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/aspnet/Home","title":"aspnet/Home","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/aspnet/Home"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Closed #1905."}],"action":{"name":"View Issue","url":"#1905 (comment)>
----==_mimepart_5a4823a21a046_5223f85a781af303420be--
|
Hi,
I have implemented embed view as is described in this article: http://www.davepaquette.com/archive/2016/07/16/loading-view-components-from-a-class-library-in-asp-net-core.aspx
The problem is that when I change embed view file .net compiler does not detect changes in the view.
The view is compliled only if I manually start rebuild process or do some changes in c# code (for example in controller).
The text was updated successfully, but these errors were encountered: