Closed DanielHazlewood closed 5 years ago
Can you confirm that you have .net core 2.2 installed? Sometimes you may need to do rebuild rather than build.
I can confirm it is installed. I am also on Visual Studio 2017, by the way.
.NET Core SDKs installed:
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.402 [C:\Program Files\dotnet\sdk]
2.1.500 [C:\Program Files\dotnet\sdk]
2.1.600-preview-009426 [C:\Program Files\dotnet\sdk]
2.2.100 [C:\Program Files\dotnet\sdk]
3.0.100-preview-010190 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview-19075-0444 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview-27329-4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview-27330-4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-preview-27329-5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
I've given a rebuild a shot, I can confirm there's no dll.
This is the output of the directory:
12/04/2019 12:17 PM <DIR> .
12/04/2019 12:17 PM <DIR> ..
12/04/2019 12:17 PM 295,650 DemoCoreWeb.deps.json
12/04/2019 12:17 PM 38,912 DemoCoreWeb.dll
12/04/2019 12:17 PM 9,052 DemoCoreWeb.pdb
12/04/2019 12:17 PM 236 DemoCoreWeb.runtimeconfig.dev.json
12/04/2019 12:17 PM 224 DemoCoreWeb.runtimeconfig.json
12/04/2019 12:17 PM 5,877 DemoCoreWeb.xml
12/04/2019 12:17 PM 17,920 DemoWebApi.DemoDataCore.dll
12/04/2019 12:17 PM 4,368 DemoWebApi.DemoDataCore.pdb
12/04/2019 12:17 PM 2,487 DemoWebApi.DemoDataCore.xml
12/04/2019 12:17 PM 13,824 Fonlow.DocCommentCore.dll
12/04/2019 12:17 PM 4,496 Fonlow.DocCommentCore.pdb
12/04/2019 12:17 PM 5,277 Fonlow.DocCommentCore.xml
12/04/2019 12:17 PM 31,744 Fonlow.Poco2TsCore.dll
12/04/2019 12:17 PM 11,944 Fonlow.Poco2TsCore.pdb
12/04/2019 12:17 PM 6,969 Fonlow.Poco2TsCore.xml
12/04/2019 12:17 PM 34,304 Fonlow.TypeScriptCodeDomCore.dll
12/04/2019 12:17 PM 11,352 Fonlow.TypeScriptCodeDomCore.pdb
12/04/2019 12:17 PM 6,654 Fonlow.TypeScriptCodeDomCore.xml
12/04/2019 12:17 PM 10,752 Fonlow.Web.MetaCore.dll
12/04/2019 12:17 PM 2,608 Fonlow.Web.MetaCore.pdb
12/04/2019 12:17 PM 523 Fonlow.Web.MetaCore.xml
18/02/2019 07:22 PM 656 tests.html
12/04/2019 12:17 PM 60,416 WebApiClientGenCore.dll
12/04/2019 12:17 PM 18,564 WebApiClientGenCore.pdb
12/04/2019 12:17 PM 14,398 WebApiClientGenCore.xml
12/04/2019 11:19 AM <DIR> wwwroot
25 File(s) 609,207 bytes
Just done a Clean Solution and rebuild. Not problem. Also run ReleaseBuild.bat. No problem.
Can you give ReleaseBuild.bat a shot?
And if the problem still persists, I would suspect that .NET Core 3.0.1 preview might play a role, since I don't have that preview installed, while having 1.0 - 2.2 installed.
reopened if needed.
https://github.com/zijianhuang/webapiclientgen/blob/master/Fonlow.DocCommentShared/DocCommentLookup.cs#L42
Results in
Could not load file or assembly 'E:\Tests\webapiclientgen-master\DemoCoreWeb\bin\Debug\netcoreapp2.2\Fonlow.DocCommentCore.XmlSerializers.dll'. The system cannot find the file specified.'
This is when running DemoCoreWeb with the same CodeGen.json