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

Display changes in .nrproj files #18538

Open
ibober opened this issue May 1, 2024 · 3 comments
Open

Display changes in .nrproj files #18538

ibober opened this issue May 1, 2024 · 3 comments

Comments

@ibober
Copy link

ibober commented May 1, 2024

The feature request

I'd like to see changes in the .NetReactor project files, which are text, xml schema based files, they have .nrproj extension.

Proposed solution

I think it's possible and simple to read files with extension .nrproj as text and display changes in them as GitHub Desktop does for Visual Studio project files with extension .csproj.

Additional context

This is an example of the content of .nrproj file:

<Reactor_Project ProjectFormat="2">
	<Main_Assembly>SomeAssembly.dll</Main_Assembly>
	<Assembly>
		<Filename>SomeOtherAssembly.dll</Filename>
		<EnforceRelativePath>false</EnforceRelativePath>
	</Assembly>
	<General_Settings>
		<Automatic_Exception_Handling>true</Automatic_Exception_Handling>
	</General_Settings>
	<Protection_Settings>
		<Anti_ILDASM>true</Anti_ILDASM>
	</Protection_Settings>
</Reactor_Project>
@steveward
Copy link
Member

steveward commented May 1, 2024

@ibober thanks for the issue. I'm not familiar with that filetype, but have you tried to force Git to diff it in your .gitattributes? You can add this line to do that:

*.nrproj diff

Let me know if that gets things working.

@steveward steveward added the more-info-needed The submitter needs to provide more information about the issue label May 1, 2024
Copy link

github-actions bot commented May 8, 2024

Thank you for your issue!
We haven’t gotten a response to our questions above. With only the information that is currently in the issue, we don’t have enough information to take action. We’re going to close this but don’t hesitate to reach out if you have or find the answers we need. If you answer our questions above, this issue will automatically reopen.

@github-actions github-actions bot closed this as completed May 8, 2024
@ibober
Copy link
Author

ibober commented May 10, 2024

@steveward it didn't work. I added .gitattributes file with one line *.nrproj diff in it, committed, cleared cache with 'git rm --cache -r .' and 'git add -A'. But it says "No content changes found" (

@github-actions github-actions bot removed the more-info-needed The submitter needs to provide more information about the issue label May 10, 2024
@github-actions github-actions bot reopened this May 10, 2024
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