I am battling with an application that I had working fine on my PC. I then rebuilt my PC and cloned the application from my GitHub and I am fighting a build failure VisualStudio due to project references.
Almost every article I have looked up on this suggests that something needs to be amended in my .csproj file, however, this file on my application seems generic.
<?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <UseIISExpress>true</UseIISExpress> </PropertyGroup> <ProjectExtensions> <VisualStudio> <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> <WebProjectProperties> <StartPageUrl> </StartPageUrl> <StartAction>CurrentPage</StartAction> <AspNetDebugging>True</AspNetDebugging> <SilverlightDebugging>False</SilverlightDebugging> <NativeDebugging>False</NativeDebugging> <SQLDebugging>False</SQLDebugging> <ExternalProgram> </ExternalProgram> <StartExternalURL> </StartExternalURL> <StartCmdLineArguments> </StartCmdLineArguments> <StartWorkingDirectory> </StartWorkingDirectory> <EnableENC>True</EnableENC> <AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug> </WebProjectProperties> </FlavorProperties> </VisualStudio> </ProjectExtensions> </Project> I have tried update-package reinstall from the console. I have also tried bluntly removing the packages folder completely, but still no success. The error I get from VS is as follows:
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props. Riddles2017 C:\Users\Lemus\Source\Repos\The-Fox-The-Chicken-and-The-Corn\Riddles2017.csproj 268 Can anyone point me in the right direction on this? My GitHub link is: https://github.com/lemusthelroy/The-Fox-The-Chicken-and-The-Corn.git