Skip to content
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

Specify Build Action for file extension #201

Open
quixoticgamedev opened this issue May 8, 2022 · 0 comments
Open

Specify Build Action for file extension #201

quixoticgamedev opened this issue May 8, 2022 · 0 comments

Comments

@quixoticgamedev
Copy link

Hello,

I tried creating the solution/project for the Avalonia Todo sample app using Sharpmake:
https://docs.avaloniaui.net/tutorials/todo-list-app/
https://github.com/grokys/todo-tutorial

I managed to get pretty much everything working except being able to setup the Build Action for the '.axaml' files, which are added to the CSharpProject using: SourceFilesExtensions.Add("axaml");.

From what I can tell, Avalonia uses the .axaml extension for their xaml-like files to avoid clashing with the default VS tools. However I have not found a way to set this up through Sharpmake and end up having to manually change the Build Action from 'Compile' to 'AvaloniaXaml' manually in the properties panel.

Is it possible to do this through Sharpmake?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@quixoticgamedev and others