Kinook Software Forums

Go Back   Kinook Software Forums > Visual Build Professional > [VBP] Third Party Tools

Thread Tools Rating: Thread Rating: 12 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
Old 08-27-2007, 02:27 PM
teognost teognost is online now
Registered User
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 182
Get AssemblyName\OutputType from a csproj file

I need to get from a csproj file the assembly version and output type.
The file looks like this:
<Project DefaultTargets="Build" xmlns="">
<SchemaVersion>2.0</SchemaVersion> <AssemblyName>AutoTrader.BICManagement</AssemblyName>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

I tried to read it as an xml,having a 'Set Macro' step for CURRENT_ASSEMBLY_NAME:
but nothing is set...
However I noticed if the csproj doesn't contain the part
xmlns=""-it is read correctly.
But this does not help me ,I need to read the csproj file as it is ,with
part inside.
Any idea how can I do it?

Last edited by teognost; 08-28-2007 at 05:41 AM.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 10:47 AM.

Copyright 1999-2019 Kinook Software, Inc.