Comments (5)
It would be slower on .NET Core, but at least if it work, it's an improvement :-).
from uno.sourcegeneration.
My dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version: 2.1.300
Commit: adab45bf0c
Runtime Environment:
OS Name: Windows
OS Version: 10.0.14393
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.1.300\
Host (useful for support):
Version: 2.1.0
Commit: caa7b7e2ba
.NET Core SDKs installed:
1.0.0-preview2-003131 [C:\Program Files\dotnet\sdk]
1.0.4 [C:\Program Files\dotnet\sdk]
1.1.0 [C:\Program Files\dotnet\sdk]
2.0.0 [C:\Program Files\dotnet\sdk]
2.1.2 [C:\Program Files\dotnet\sdk]
2.1.4 [C:\Program Files\dotnet\sdk]
2.1.104 [C:\Program Files\dotnet\sdk]
2.1.200 [C:\Program Files\dotnet\sdk]
2.1.201 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.300 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
from uno.sourcegeneration.
Curiously, this only happens from the CLI, not from VS. This must also happen with VSCode, there's something odd there with netcore...
from uno.sourcegeneration.
The source generator relies on app domains to isolate Roslyn's msbuild loader from the ambient msbuild context, and this those are not available in .NET Core.
A solution can be to use an spawn an actual process to generate the code, and have it return the list of generated files.
from uno.sourcegeneration.
This was incorrectly automatically closed... sorry about that. You may want to try again once #50 is merged.
from uno.sourcegeneration.
Related Issues (20)
- Add a way for code generators to replace a file. HOT 1
- Generation may fail for Xamarin.Android projects on Azure Devops hosted agents
- Random Uno.SourceGenerationTasks.targets: error : Error reading response
- Can't use System.Text.Json or resolve types from Microsoft.Bcl.AsyncInterfaces
- Codegen in a solution HOT 4
- Support .NET Core 3.1.201 (and .NET 5) HOT 4
- [NET5] dotnet build failure under macOS and Linux
- Are netstandard2.1 or netcoreapp3.1 supported for source generator projects? HOT 6
- Add the netstandard2.0 target
- [FEAT] Add ViewBase generation HOT 2
- `Uno.SourceGenerationTasks` package is too large in size
- `Uno.SourceGeneration.dll` version doesn't match NuGet package version
- Document which version of the package to use for each Visual Studio version
- Uno.SourceGeneration.Host.exe stay open after Visual Studio closed HOT 3
- Build error when creating source generator for iOS/macOS HOT 6
- Project gets built using Visual Studio, but dotnet build results into an error HOT 27
- Add support for uap10.0.xxx in source generation tasks
- Reason behind choosing net 462 HOT 3
- Add support for persistent Generation Host
- Add support for msbuild 16.0 / VS Mac 8.0 Preview HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uno.sourcegeneration.