System.Web.Mvc not at current security version
C:\Program Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Mvc, Version=3.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
Can you please install the security updates which have the X.X.X.1 versions?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by mark on 04 Jun, 2015 08:47 PM
http://stackoverflow.com/questions/26406877/asp-net-mvc-security-patch-to-version-3-0-0-1-breaks-build
Support Staff 2 Posted by Feodor Fitsner on 04 Jun, 2015 09:08 PM
Hi Mark,
Application-specific dependencies like ASP.NET MVC are not pre-installed on build workers. They are supposed to be installed by NuGet before the build.
Let me know if you have any questions.
- Feodor
3 Posted by mark on 04 Jun, 2015 09:27 PM
so I did this locally
Install-Package Microsoft.AspNet.Mvc -Version 3.0.50813.1 -Project Presentation.Mvc
That didn't seem to help. How do I get Appveyor to pick that up?
Support Staff 4 Posted by Feodor Fitsner on 04 Jun, 2015 10:26 PM
On build tab of project settings add to "Before build script":
nuget restore <your-solution.sln>
Also make sure project references to those assemblies point to NuGet packages, not GAC.
- Feodor
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.