assembly-references

Azure Package Not including linked project dll even with copy local set

两盒软妹~` 提交于 2019-11-30 06:39:55
I have an Azure solution with 4 projects in it. (VS2012 on Windows 8, Azure Tools 1.8) Core project with common code Web Role Front End Service Role for servicing data (from SQL Azure DB) Worker Role for scheduled tasks All role projects have a reference to the core project with copy local = true... standard stuff. The web role and the worker role work fine, but my service role keeps getting stuck in the Initializing - Starting - Recycling loop. When I browse to the service I get the 'Could note load file or assembly' FileNotFoundException. Sure enough, RDP to the server and the dll is missing

Azure Package Not including linked project dll even with copy local set

☆樱花仙子☆ 提交于 2019-11-29 06:21:28
问题 I have an Azure solution with 4 projects in it. (VS2012 on Windows 8, Azure Tools 1.8) Core project with common code Web Role Front End Service Role for servicing data (from SQL Azure DB) Worker Role for scheduled tasks All role projects have a reference to the core project with copy local = true... standard stuff. The web role and the worker role work fine, but my service role keeps getting stuck in the Initializing - Starting - Recycling loop. When I browse to the service I get the 'Could

Why is System.Web.Mvc not listed in Add References?

青春壹個敷衍的年華 提交于 2019-11-28 17:20:39
Using C#, Visual Studio 2010. There is a namespace called System.Web.Mvc documented on MSDN. The documentation for all the types in that namespace says that they are in System.Web.Mvc.dll . However, when I go to Add Reference, “.NET” tab, this assembly is missing from the list. Why? In VS Express 2012 I couldn't find System.Web.Mvc in the "assemblies" tab, but after a bit of searching I found out that I need to look into " assemblies\extensions " tab rather than the default "assemblies\framework" tab. Best way is to use NuGet package manager. Just update the below MVC package and it should

mvc 4 assembly reference missing for Json.Encode

喜你入骨 提交于 2019-11-27 04:29:13
I am trying to call a Json.Encode(...) method in MVC 4 and I'm getting an error: The name 'Json' does not exist in the current context. I've tried adding System.Runtime.Serialization namespace, which has Json class, but this particular instance of Json class doesn't have Encode method. What assembly am I missing here? Here is my exact code: { url: '@Url.Action("DeleteDefinitionRule")', editData: { companyCode: 'LO', definitionID:@Html.Raw(Json.Encode(Model.DefinitionID)) } } References in solutions explorer > right click > Add reference Under Assemblies > Framework, search for "System.Web

ASP.NET MVC security patch to version 3.0.0.1 breaks build [duplicate]

大城市里の小女人 提交于 2019-11-26 18:30:47
This question already has an answer here: Windows update caused MVC3 and MVC4 stop working 9 answers After installing the ASP.NET MVC 3 security update KB2990942 it appears the MVC version increased from 3.0.0.0 to 3.0.0.1 . This causes Visual Studio to no longer find the reference. <Reference Include="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" /> Resharper does not show any problems but the build fails with lots of unresolved MVC types and a warning: Warning : Could not resolve this reference. Could not locate the assembly