dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.02k stars 4.03k forks source link

I open Visual Studio it shows no error but project not running and in output it shows [Failure] Could not find file . ".g.cs" files . Almost All g.cs files #34940

Open Ahmad-Mustafaa opened 5 years ago

Ahmad-Mustafaa commented 5 years ago

Visual Studio 2017:

error

vatsalyaagrawal commented 5 years ago

@Pilchie is this project systems related?

Ahmad-Mustafaa commented 5 years ago

Its just a management System .

Pilchie commented 5 years ago

That error is benign, and I believe that Roslyn no longer activates that. @Ahmad-Mustafaa - are there errors in your Error List? What about if you change the dropdown that says IntelliSense in your image above to the build tab?

Ahmad-Mustafaa commented 5 years ago

@Pilchie no errors in the error list when built it failed built. I changed the system and open it but there are other issues while deploy time on Client system . Im creating exe by clickonce . i am very confused what to do now

Pilchie commented 5 years ago

What about errors in the Output Window with the "Show output from" dropdown set to "Build" instead of "IntelliSense"?