Answered by:
run custom tool not available in shared project?

Question
-
Hi there,
I´m building a Universal App and are unable to run a custom tool for a .resw file when it´s placed in the shared Project. Why is this? Is there a workaround for it?
When I look at the file Properties in a shared Project, there is no property "custom tool" or "custom tool namespace"
Thx for your help,
Till
Sunday, September 21, 2014 11:21 AM
Answers
-
I'm not familiar with ReswFileCodeGenerator and can't help with it. You can ask its authors on their codeplex discussion page.
You can take a look at what it sets for custom build steps in a Windows or Windows Phone specific project and then copy those.
- Marked as answer by Jamles HezModerator Tuesday, October 7, 2014 5:57 AM
Monday, September 22, 2014 7:31 PMModerator
All replies
-
Set it in the build properties for the platform specific project. You cannot build the shared project directly.Sunday, September 21, 2014 4:04 PMModerator
-
Hey Rob,
Thx for your quick Reply!
So you mean I can go to my Project Properties -> Build Events and write the command myself?
Sounds reasonable, but I don´t know how the console commands would look like for calling the ReswFileCodeGenerator Extension https://reswcodegen.codeplex.com/
There is no documentation like with the resgen.exe used when Setting ResxFileCodeGenerator http://msdn.microsoft.com/en-us/library/ccec7sz1(v=vs.110).aspx
Any ideas? I guess I´m not that deep into VS
Monday, September 22, 2014 7:25 PM -
I'm not familiar with ReswFileCodeGenerator and can't help with it. You can ask its authors on their codeplex discussion page.
You can take a look at what it sets for custom build steps in a Windows or Windows Phone specific project and then copy those.
- Marked as answer by Jamles HezModerator Tuesday, October 7, 2014 5:57 AM
Monday, September 22, 2014 7:31 PMModerator -
Ok, guess I´ll ask there, as I allready tried to find the build steps by building with Diagnostic verbosity, but couldn´t find anything. The generation seems to be done instantly when saving the .resw file.
As said, I´m not that deep into custom build tools. Any advice where I can search for the custom bild steps genereated by defining the custom tool?
As a workaround I have the .resw file in a PCL
[edit:] noticed, that there is allready the same (unanswered) question in the dicsussion forum: https://reswcodegen.codeplex.com/discussions/547613
- Edited by TiBall Monday, September 22, 2014 8:43 PM
Monday, September 22, 2014 8:35 PM -
Did you find a solution to this issue? There does not seem to be any documentation out there for the ReswFileCodeGenerator tool.Friday, December 19, 2014 5:01 PM
-
You need to talk to the author of the tool. It may need to be updated to support Universal app projects.Friday, December 19, 2014 5:25 PMModerator