FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

$(ProjectName) seems to expand to $(SolutionName)

 
Post new topic   Reply to topic     Forum Index -> Visual D
View previous topic :: View next topic  
Author Message
Andrej08



Joined: 31 Aug 2010
Posts: 51

PostPosted: Thu Aug 04, 2011 5:11 pm    Post subject: $(ProjectName) seems to expand to $(SolutionName) Reply with quote

Using VD v0.3.24 and VShell 2008:



On my system building the lesson1 project builds this executable:

Quote:
D:\dev\projects\DNeonHelium\VisualD\Release\win32_VS2008.exe


But "win32_VS2008" is the solution name, "lesson1" is the project name. What gives?
Back to top
View user's profile Send private message
Andrej08



Joined: 31 Aug 2010
Posts: 51

PostPosted: Fri Aug 05, 2011 1:54 pm    Post subject: Reply with quote

I can see the problem now. Even though the project has the name "lesson1" in the solution, the file on the disk was named "win32_VS2008.visualdproj".

If I rename it to "lesson1.visualdproj" and edit the win32_VS2008.sln in a text editor to reference the new name, then I get the expected output.

So I guess this isn't a bug.
Back to top
View user's profile Send private message
sagitario



Joined: 03 Mar 2007
Posts: 292

PostPosted: Sun Aug 07, 2011 1:51 pm    Post subject: Reply with quote

I'll have a look whether it is possible to retreive both filename and name in the solution, and make them accessible through variables.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Visual D All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group