There seem to be a couple of problems here: • Package restore from within the IDE doesn't do anything. 'msbuild /t:restore' from the command line does work however. • After restoring a native package from the command line you get an error similar to the following when trying to build: 'C: Dev ConsoleApplication1 ConsoleApplication1.sln' (default target) (1) -> 'C: Dev ConsoleApplication1 ConsoleApplication1.vcxproj' (default target) (2) -> (ResolveNuGetPackageAssets target) -> C: Program Files (x86) Microsoft Visual Studio 2017 Enterprise MSBuild Microsoft NuGet 15.0 Microsoft.NuGet.targets(1 78,5): error: Your project is not referencing the '.NETFramework,Version=v4.0' framework. What is the command for f9 on mac for editing graphs in after effects. Add a reference to '.NETFram ework,Version=v4.0' in the 'frameworks' section of your project.json, and then re-run NuGet restore. [C: Dev ConsoleApp lication1 ConsoleApplication1.vcxproj] It looks like the 'native' 'framework' is not recognised properly. How to create bootable usb for os x yosemite. Mar 17, 2017 - Always build when running a project even with Prompt to build is selected in. Tested with C++ projects, using visual studio 2015 toolchain. Microsoft office for mac. ![]() You can work around this by adding the following to the.vcxproj file net40 native I've attached a sample project but this should all be easily reproducible.
0 Comments
Leave a Reply. |