I ve downloaded the WTL 8.0 package and come to find the scripts to install App Wizards don t support VS 2010.
Does anyone know of updates scripts to support installation in VS 2010?
Thank you!
I ve downloaded the WTL 8.0 package and come to find the scripts to install App Wizards don t support VS 2010.
Does anyone know of updates scripts to support installation in VS 2010?
Thank you!
WTL 8.0 was released in june 2007 so couldn t possibly support VS 2010.
You may download the current work in progress WTL 8.1 AppWizard from http://wtl.svn.sourceforge.net/viewvc/wtl/trunk/wtl/Wizards/AppWiz.tar.gz?view=tar and the matching library files from /include.tar.gz?view=tar.
The AppWizard for VS2010 above has two small glitches (however they might deter people from using WTL with VS2010). These are very easy to fix:
1) [Output Directory] and [Intermediate Directory] in new project properties are not followed by a backslash ( ).
To fix: file: .AppWizFilesScripts1033default.js
I have replaced:
if(bDebug)
{
config.IntermediateDirectory = Debug ;
config.OutputDirectory = Debug ;
config.ATLMinimizesCRunTimeLibraryUsage = false;
}
else
{
config.IntermediateDirectory = Release\ ;
config.OutputDirectory = Release\ ;
config.ATLMinimizesCRunTimeLibraryUsage = true;
}
with
// Add generic configuration details
config.IntermediateDirectory = $(SolutionDir)$(Configuration)\ ;
config.OutputDirectory = $(Configuration)\ ;
config.ATLMinimizesCRunTimeLibraryUsage = !bDebug;
2) Some WTL headers are missing in newly created projects.
The symbol WTL_USE_CPP_FILES seems to be missing when the template stdafx.h file is parsed, as a result a bunch of header files are not included in new projects.
Again in .AppWizFilesScripts1033default.js, I have added:
// Add WTL_USE_CPP_FILES to all projects
wizard.AddSymbol("WTL_USE_CPP_FILES", true)
just below line 41 (so that the lines are always included). This seems to do the trick.
I ve never looked at VS appWizards before (or js for that matter), so I can t guarantee the workarounds are concrete. It seems pretty straighforward though & I ve been using WTL with VS2010 with no problems since I ve made those changes...
WTL is awesome btw - many thanks to the folks who still maintain it!
Cheers, Yiannis
I just got a new work laptop. I want to run Visual Studio 2010 Beta 2. However, the rest of my team is using Visual Studio 2008 with .Net 3.5, and I don t want to check-in the solution migration code ...
I m interested to hear about people working with building .net applications using MSBuild, NAnt or similar tools. What are you using, why are you using it instead of the VS IDE? I like to use ...
I m trying to find the source of a bug I have found in an open-source application. I have managed to get a build up and running on my Windows machine, but I m having trouble finding the spot in the ...
I can t find the Code Analysis tool in Visual Studio Team System 2008 Database Edition. Is this feature not available in the Database Edition?
I have to turn in a hard copy of some code with an assignment. Is there any way in Visual Studio 2010 to print C# source code with syntax highlighting? PS: The assignment is solving a math problem, ...
When I m trying to change the default Image of a Control on Windows Forms in Form Designer (no matter where on which control) I get this error: Error message: An item with the same key has ...
On button Click I want to Set the Select command of a Gridview. I do this and then databind the grid but it doesn t work. What am i doing wrong? protected void bttnView_Click(object sender, ...
I am trying to create a custom wpf control, I m wondering how I can add some design-time features. I ve googled and can t seem to get to my goal. So here s my simple question, how can I add an entry ...