-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
avalonia-amd-gen doesn't read properties in csproj #68
Comments
@philippelatulippe can you share archive with the project folder here? |
I can't share the whole project but I can certainly share the csproj: csproj
|
@gritsenko, I'm starting to wonder if integrating the generation CLI into MSBuild would make it simpler. A Custom MSbuild step could get a list of all loaded libraries and that could be used to trigger the generation. I use a MSBuild step here that runs after the ResolveReferences step. |
@IvanJosipovic I thought about it as well, but we need to generate extensions before building step already, and even when project itself has errors and can't to be built. Do you think it is possible to use msbuild in this case? Or I misunderstanding how it works? |
@gritsenko, I created an example PR, #70 |
When I run avalonia-amd-gen on a project created by Rider, I get the following error:
It looks like the csproj file reader doesn't understand variables, since the variable
AvaloniaVersion
is definited inPropertyGroup
.The text was updated successfully, but these errors were encountered: