MS-Build, Multi-Targeting and WiX in the Visual Studio 2010 and .NET Framework 4.0 CTP Forum© 2009 Microsoft Corporation. All rights reserved.Thu, 29 Oct 2009 02:31:17 Zbd665fe2-a464-4456-91d0-bf8bac208476http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/c578f3b8-fc48-4c00-931c-35400a709feehttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/c578f3b8-fc48-4c00-931c-35400a709feeSteve Dillonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Steve%20DillonMsbuild 4.0 Beta2 Incorrect path in Microsoft.Cpp.Win32.v90.props?At the beginning of<br/> \Microsoft.Cpp\v4.0\Platforms\Win32\PlatformToolsets\v90\Microsoft.Cpp.Win32.v90.props it has:<br/> <br/> &lt;Import Project=&quot;$(VCTargetsPath)\Platforms\Win32\ImportBefore\*.v90.props&quot; Condition=&quot;Exists('$(VCTargetsPath)\Platforms\Win32\ImportBefore')&quot; /&gt;<br/> <br/> But anything in that path has already been included in:<br/> Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.props via:<br/> &lt;Import Project=&quot;$(VCTargetsPath)\Platforms\Win32\ImportBefore\*.props&quot; Condition=&quot;Exists('$(VCTargetsPath)\Platforms\Win32\ImportBefore')&quot; /&gt;<br/> <br/> <br/> The import in Microsoft.Cpp.Win32.v90.props is probably better off as:<br/> &lt;Import Project=&quot;$(VCTargetsPath)\Platforms\Win32\<strong>PlatformToolsets</strong> \ImportBefore\*.v90.props&quot; Condition=&quot;Exists('$(VCTargetsPath)\Platforms\Win32\ImportBefore')&quot; /&gt;<br/> <br/> The same issue exists in Microsoft.Cpp.Win32.V100.props<br/> <br/> SteveThu, 22 Oct 2009 20:24:57 Z2009-10-29T02:31:17Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/5bfd2950-e2b4-4685-91c1-10286ce2559dhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/5bfd2950-e2b4-4685-91c1-10286ce2559dDmehrahttp://social.msdn.microsoft.com/Profile/en-US/?user=DmehraCan i have Hybrid("Relative" and "HomeSite") ComponentsLocation of GenerateBootstrapper??hii,<br/> i have created a setup.exe(Bootstrapper) file using GenerateBootstrapper with WIX v3.5.it smoothly run when ComponentsLocation is either<br/> <br/> <strong>HomeSite </strong> :: when this is ComponentsLocation then it will Download the File and install.<br/> or <strong>Relative</strong> :: When this is ComponentsLocation then it will Check in the same location where application exist.<br/> <br/> But i my scenario i want that when i run setup.exe(Bootstrapper) file  then it will first check its local location(like does when componentsLocation is <strong>Relative</strong> ) and idf found then install ,But if not found in that location then It will Downlaod it from HomeSite(Like does when ComponentsLocation is <strong>HomeSite</strong> ) and install.<br/> <br/> Now Is it possible with GenerateBootstrapper to create setup.exe file with having both of the properties(HomeSite and Relative)??<br/> i hope it wud be possible but how can i do it???<br/> <br/> <br/>Wed, 21 Oct 2009 13:22:37 Z2009-10-23T08:37:01Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/dc64f8b1-b487-4a6d-bcfb-edaf3cef3be7http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/dc64f8b1-b487-4a6d-bcfb-edaf3cef3be7.ben.http://social.msdn.microsoft.com/Profile/en-US/?user=.ben.MSBuild for C++ with VS2005Hi<br/> <br/> Does anyone know if it is possible to use the new .NET4 MSBuild to build a C++ project using the VS 2005 compiler and linker?<br/> <br/> I'm considering various external build systems for my large C++ project - I need better extension points and compatibility with Continuous Integration tools.<br/> The new MSBuild in .NET4 is an obvious candidate as it now comes with C++ support.<br/> Can I use it with VS 2005, and if so, how do I tell it which compiler to use?<br/> I don't want to use VCBuild as this doesn't have the extension points and flexibility I need.<br/> <br/> Thanks in advance,<br/> <br/> Ben<br/>Tue, 02 Jun 2009 15:59:57 Z2009-06-04T06:08:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/622c3d49-be72-4cff-8f2c-015b65d7982bhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/622c3d49-be72-4cff-8f2c-015b65d7982bAlicia Caleshttp://social.msdn.microsoft.com/Profile/en-US/?user=Alicia%20CalesFORUM LOCKED: Please use the Visual Studio 2010 & .NET Framework 4 Beta 1 Forums<p class=MsoNormal style="margin:0in 0in 0pt 0.25in"><span style="font-size:small;font-family:Calibri">Thank you for visiting Visual Studio 2010 .Net 4 CTP forums.   Since the Beta1 is now available we <span style="color:#1f497d">are </span>closing down the CTP forums and encourage you to visit the new</span><span style="font-size:8pt;color:black;font-family:'Verdana','sans-serif'"> </span><strong><a href="http://social.msdn.microsoft.com/Forums/en-US/category/VSPreRelease,netdevelopmentprerelease,visualstudioprerelease,vstsprerelease"><span style="font-size:small;font-family:Calibri">Visual Studio 2010 &amp; .NET Framework 4 Beta 1</span></a><span style="font-size:small;font-family:Calibri"> </span></strong><span style="font-size:small;font-family:Calibri">forums. </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.25in"><span style="font-size:small;font-family:Calibri"><br/>Thanks, </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.25in"><span style="font-size:small;font-family:Calibri">Charles Sterling</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.25in"><span style="font-size:small;font-family:Calibri">Program Manager Visual Studio </span></p><hr class="sig">Program Manager, Server and Tools Online Operations TeamWed, 20 May 2009 19:02:00 Z2009-05-20T19:14:03Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/7b85918b-23e0-4bdd-8a2f-5070eb9ac3b4http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/7b85918b-23e0-4bdd-8a2f-5070eb9ac3b4Uday Kumar Phttp://social.msdn.microsoft.com/Profile/en-US/?user=Uday%20Kumar%20PHow to Deploly Databases with VSDBCMD and WIXHi,<br/><br/>We are having database projects in VS2008. Currently We are deploying these databases using vsdbcmd (invoking this by batch file).  I want to automate this process using wix. Can some one suggest the 1,2 and 3 steps for doing the same. <br/><br/>Thanks in adance.Wed, 13 May 2009 05:51:20 Z2009-05-13T05:51:21Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/8c6d4193-34da-48cb-b23c-61ccda848736http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/8c6d4193-34da-48cb-b23c-61ccda848736Mark Bihttp://social.msdn.microsoft.com/Profile/en-US/?user=Mark%20BiDoes MSBuild in vs2010 support build 1.1 application out of box?Today my team uses MSBee to build 1.1 application.  I wonder if migration to vs2010 (framework 4.0) will allow me to build 1.1 application out of box?<br/><br/>Or is there something like MSBee that make it possible to build 1.1 apps with MSBuild 4.0?Thu, 16 Apr 2009 23:45:28 Z2009-04-19T05:33:57Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/d1691771-1e39-4535-a357-8d66bfe7a377http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/d1691771-1e39-4535-a357-8d66bfe7a377Prashant Choudharihttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20ChoudhariCustom Task and logging errorsHi,<br/><br/>I have a custom task, and use Task.TaskLoggingHelper.LogError() and similar APIs to log errors, warnings and messages.<br/><br/>As I figure, LogError should show the error on the Error List, LogWarning in the warning list and so on.<br/><br/>But, as I observed all my errors, warnings and messages are being displayed in the output window only.<br/><br/>Am I doing something wrong? As I remember, these used to work in VS 2008.<br/><br/>Thanks,<br/>Prashant.Thu, 16 Apr 2009 14:55:00 Z2009-04-16T14:55:04Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/4466d65c-a5bb-4b98-bbca-4321db58e2e0http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/4466d65c-a5bb-4b98-bbca-4321db58e2e0Candy Chianghttp://social.msdn.microsoft.com/Profile/en-US/?user=Candy%20ChiangHow to Deploy an Application by Using WiX Hi, my name is Candy Chiang and I am the PM for the Windows Installer XML (WiX) Toolset in Visual Studio. WiX is a set of tools that offers the ability to build MSI packages with an enhanced set of MSI capabilities. It also includes a set of built-in custom actions to enable MSIs to target various Microsoft platforms such as IIS and SQL.This walkthrough covers the basic steps of creating an MSI package using WiX for a simple C# windows application.<br><br>This is the first release of WiX in Visual Studio and we're looking forward to hear your feedback. Please let us know what you think about the scenario covered in this walkthrough as well as other feedback you may have. We are interested in hearing about your overall experience and your thoughts about this new additional into Visual Studio!<br><br>If you have not downloaded or would like more information about the CTP, please visit <a href="http://go.microsoft.com/fwlink/?LinkId=129231">http://go.microsoft.com/fwlink/?LinkId=129231</a>.  <br><br>Thanks,<br>Candy Chiang<br>Program Manager Fri, 24 Oct 2008 22:15:59 Z2009-04-14T19:10:51Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/440516fd-679b-4486-a670-922befd941fehttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/440516fd-679b-4486-a670-922befd941feAnton Kochepasovhttp://social.msdn.microsoft.com/Profile/en-US/?user=Anton%20KochepasovQuestionMSBuild 4.0: Changing command line switch from slash to hyphenIn VS 10 and MsBuild 4.0 the &quot;\Program Files\MSBuild\Microsoft.Cpp\v4.0\cl.xml&quot; file contains descriptions of a property, for instance:<br/>     &lt;EnumValue Name=&quot;TurnOffAllWarnings&quot; Switch=&quot;<strong>W0</strong> &quot;&gt;<br/>       &lt;EnumValue.DisplayName&gt;<br/>         &lt;sys:String&gt;Turn Off All Warnings&lt;/sys:String&gt;<br/>       &lt;/EnumValue.DisplayName&gt;<br/>       &lt;EnumValue.Description&gt;<br/>         &lt;sys:String&gt;Level 0 disables all warnings.&lt;/sys:String&gt;<br/>       &lt;/EnumValue.Description&gt;<br/>     &lt;/EnumValue&gt;<br/> <br/> It gives <strong>/</strong> W0 option in the command line even though the slash seems not to being specified anywhere.<br/> <br/> We're creating a similar set of files for our compiler, but it uses options with hyphens.<br/> Is it possible to change the <strong>slash </strong> (<strong>/</strong> ) <strong>to hyphen </strong> (<strong>-</strong> ) somehow in the XML description or MSBuild target files?<hr class="sig">AntonMon, 06 Apr 2009 10:41:40 Z2009-04-06T10:41:42Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/4531a1e3-8757-45b8-b921-4501cb08c43bhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/4531a1e3-8757-45b8-b921-4501cb08c43bAnton Kochepasovhttp://social.msdn.microsoft.com/Profile/en-US/?user=Anton%20KochepasovQuestionTemplates: ZipProjects and ZipItems targets are absent in Visual Studio 2010 Beta1 SDKAn example XML from Templates.csproj which is workable in VS 2008<br/>   &lt;ItemGroup&gt;<br/>     &lt;ZipProject Include=&quot;templateitem1.cpp&quot;&gt;<br/>       &lt;RootPath&gt;ProjectsTemplates\Project1&lt;/RootPath&gt;<br/>     &lt;/ZipProject&gt;<br/>   &lt;/ItemGroup&gt;<br/> <br/> Now it's stopped working.<br/> <br/> In the most recent Visual Studio 2010 SDK Microsoft.VsSDK.targets file doesn't contain ZipProjects and ZipItems targets and UsingTask specification even though Microsoft.VsSDK.Build.Tasks.dll (version 10.0.20207.0) contains the tasks.<br/> <br/> Could you tell how to create project and item templates in a proper way as ZipProject is not available in the SDK?<hr class="sig">AntonMon, 06 Apr 2009 10:39:39 Z2009-04-06T10:39:41Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/3d16e845-3910-4948-8a90-d23e12a02ec2http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/3d16e845-3910-4948-8a90-d23e12a02ec2Anton Kochepasovhttp://social.msdn.microsoft.com/Profile/en-US/?user=Anton%20KochepasovMSBuild 4.0: Changing command line switch from slash to hyphenIn VS 10 and MsBuild 4.0 the &quot;\Program Files\MSBuild\Microsoft.Cpp\v4.0\cl.xml&quot; file contains descriptions of a property, for instance:<br/>     &lt;EnumValue Name=&quot;TurnOffAllWarnings&quot; Switch=&quot;<strong>W0</strong> &quot;&gt;<br/>       &lt;EnumValue.DisplayName&gt;<br/>         &lt;sys:String&gt;Turn Off All Warnings&lt;/sys:String&gt;<br/>       &lt;/EnumValue.DisplayName&gt;<br/>       &lt;EnumValue.Description&gt;<br/>         &lt;sys:String&gt;Level 0 disables all warnings.&lt;/sys:String&gt;<br/>       &lt;/EnumValue.Description&gt;<br/>     &lt;/EnumValue&gt;<br/> <br/> It gives <strong>/</strong> W0 option in the command line even though the slash seems not to being specified anywhere.<br/> <br/> We're creating a similar set of files for our compiler, but it uses options with hyphens.<br/> Is it possible to change the <strong>slash </strong> (<strong>/</strong> ) <strong>to hyphen </strong> (<strong>-</strong> ) somehow in the XML description or MSBuild target files?<br/> <br/><hr class="sig">AntonTue, 31 Mar 2009 11:41:35 Z2009-04-06T13:23:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/aac58141-9777-4c6a-82a0-64ab4a6ab60bhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/aac58141-9777-4c6a-82a0-64ab4a6ab60bPrashant Choudharihttp://social.msdn.microsoft.com/Profile/en-US/?user=Prashant%20ChoudhariMemory not freed by Dev10 after Build Task completesHi,<br/><br/>I have a custom task for the Database project. I have been monitoring the memory usage of Dev10 during the build process.<br/><br/>I notice that, after each build the memory used by devenv keep getting higher and higher. Since the Build Task is an external dll, I assume that after a build all the memory used by it will be freed as it finsihes execution.<br/><br/>Is this behavior noticed by anyone else? Can anyone help me out, if I'm doing something wrong?<br/><br/>Thanks,<br/>Prashant.Sat, 28 Mar 2009 14:30:15 Z2009-03-28T14:30:17Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/35d44ee2-69ea-4172-af23-d3fd75ffd7aehttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/35d44ee2-69ea-4172-af23-d3fd75ffd7aeLordTitanhttp://social.msdn.microsoft.com/Profile/en-US/?user=LordTitanMigrating Setup projects to WiXThis must surely be a FAQ...<br><br>Is there anything available now or will there be anything available to take an 'old' setup project done in VS2008 and convert it to WiX, or do I need to re-write my setup projects?<br><br>Thanks<br><br>Graham Thu, 08 Jan 2009 11:10:38 Z2009-03-20T15:09:40Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/fbbb226a-bec5-4494-8681-7cda3eccbc48http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/fbbb226a-bec5-4494-8681-7cda3eccbc48Bob Summerwillhttp://social.msdn.microsoft.com/Profile/en-US/?user=Bob%20SummerwillVCPROJ upgrader - include path and output/temp directory creation issues<br>Originally posted to the &quot;Core Coding Experience forum&quot;, but I think it should actually be here:<span><a href="../../vs2010ctpcpp/threads/" title="Core Coding Experience in Visual C++ in the Visual Studio 2010 and .NET Framework 4.0 CTP"></a></span><br>http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpcpp/thread/dd1969f9-a2c3-4d44-952a-080566c1cb5d<br><br>...<br><br><br>I hit two issues when first using the VCPROJ upgrader:<br><br><br>1. Include paths with quotes around them are &quot;upgraded&quot; into VCPROJX files which don't actually work!     I believe this is similar to the issues reported in the following e-mail:<br><br>http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpcpp/thread/267022c4-e155-4b96-9679-463be84f2e2b#page:9999<br><br>This issue can be worked around by manually stripping the quotes from either the source or generated paths, but can be considered a bug in the upgrader.   It takes a valid VCPROJ, which works, and produces an MSBuild file which doesn't work.<br><br>If you don't already have a use-case to demonstrate this issue, I can put one together.    I believe you just get an invalid cl.exe command line generated when you try to build.     Just have quotes within the generated MSBuild file around include paths to see the issue.<br><br><br>2. Visual Studio building using VCPROJ generates any required output or intermediate paths implicitly as part of the build process.   That doesn't seem to be happening off-the-bat with the MSBuild C++ build system.     The failure case I hit was that the linker was trying to generate a PDB into a directory which hadn't been created yet - resulting in a build error.<br><br>Again, I can put together a use-case if needed, but just point your PDB directory to a non-existent directory to replicate the issue.<br><br><br><br>Cheers,<br>Bob Tue, 13 Jan 2009 19:01:09 Z2009-01-13T19:01:10Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/1337627c-5a48-4113-855d-28f004a91a4dhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/1337627c-5a48-4113-855d-28f004a91a4dandr_ginhttp://social.msdn.microsoft.com/Profile/en-US/?user=andr_ginNew Features in VS2010 when targeting older frameworks<p>I have seen the new features in Visual Studio 2010 and some of it are really useful for me. Unfortunately many of my applications run on computers of my customers where .NET Framework 2.0 is installed, but an installation of .NET Framework 3.5 or 4.0 would be very complicated.<br><br>What Features of VS 2010 and especially VB.NET 10 can I use when targeting .NET Framework 2.0?<br>a) Can I use features like auto implementing properties, multiline lamdas, array initializers, the new List Constructors or Generic In/Out types?<br>b) Can I use the new parallel loops?</p>Tue, 30 Dec 2008 18:20:01 Z2009-03-20T15:17:38Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/f7708dc7-e58a-418b-9e57-71a0ae5d257ehttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/f7708dc7-e58a-418b-9e57-71a0ae5d257eLei Jianghttp://social.msdn.microsoft.com/Profile/en-US/?user=Lei%20JiangIs Multi-Targeting support this feature? <br>For example: I have one set of source code and I'd like to compile it to target to both .NET Framework and Silverlight. In VS2008, I have to setup two project, one for .NET Framework, one for Silverlight, then I add source code files to one project and in another project use &quot;Add as Link&quot; to add link to the same files. When I add or remove files to one project, I have to add or remove links to another project synchronally. <br><br>Could we do it more easily? For example, just select one or more target platform in the project propoty page, then the build system automatically build several target output in different folders. Or I have several project, one &quot;main project&quot; to hold the source code, several &quot;sub project&quot; to hold the links to the source code. When files add to or removed from the main project, the sub projects chanaged automatically.<br><br>Is VS2010 support it? Or the required feature is already in VS2008 but I have not noticed it?<br><br>Thanks!<br><br>Lei Jiang<hr class="sig">Lei JiangSun, 21 Dec 2008 13:04:16 Z2009-04-19T05:33:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/318011f1-e241-473c-bb62-678752cd588dhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/318011f1-e241-473c-bb62-678752cd588dggianophttp://social.msdn.microsoft.com/Profile/en-US/?user=ggianopVS 2008 Deployment project & InstallAllUsers setting I have a 2008 deployment project that builds an MSI and installs an ActiveX. I need this to be installed on a per-user basis. Everything in my project works, the code is properly structured and functional. However, I MUST set the package to install for &quot;Just Me&quot; manually each time I run the installer. I need to make this the default setting and block the UI that would allow the user to change the option to install for &quot;All Users&quot;.<br><br>The spec says to set &quot;InstallAllUsers=False&quot; to change the default, and &quot;InstallAllUsersVisible=False&quot; to hide the UI.<br><br>I have modified the project property for &quot;InstallAllUsers=False&quot; in the property page. However, when the Installation Folder dialog runs during the invokation of the MSI, the &quot;All Users&quot; radio button is still selected by default. It seems as though the UI is ignoring the property.<br><br>If I furthermore disable the UI by setting &quot;InstallAllUsersVisible=False&quot; this does work, but as expected from above the wrong default value is being pickedup. <br><br>Does anyone have any clue why this is ocurring? Is Visual Studio 2008 broken? I can find NO help on the web or MSDN for deployment projects, no Blogs from the Studio team either. Fri, 07 Nov 2008 21:00:19 Z2008-12-19T00:26:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/78ae9e36-8af8-4b67-ad3e-152bbb1a4b34http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/78ae9e36-8af8-4b67-ad3e-152bbb1a4b34emaineshttp://social.msdn.microsoft.com/Profile/en-US/?user=emainesAdd keys to the registry using Wix? Hi, <br><br>I was wondering how can I write values to the registry using VisualStudio 2010 and a Wix installer?<br><br>Thanks,<br><br>EricWed, 10 Dec 2008 15:03:33 Z2009-01-15T03:50:40Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/e25dba77-f58e-49a7-a26e-d145108d4f2fhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/e25dba77-f58e-49a7-a26e-d145108d4f2fZhilahttp://social.msdn.microsoft.com/Profile/en-US/?user=ZhilaBetter support of Item metadata in Visual StudioSo, I am in the process of creating a .targets file to include in a few of my projects, and some of the extra targets rely on certian custom metadata to be set to some of the items.  When using the project in Visual Studio, the only way I can set and add custom metadata to items is by unloading the project file and typing it in (or loading the project file in an outside editor, then reloading the project in Visual Studio). While possible, it's rather less than adequite. Also, it's not possible to view this custom metadata while the project is loaded in Visual Studio.  I noticed this was the same for the current CTP of Visual Studio 2010. I'd like to request a feature for Visual Studio 2010, allowing one to edit, add, and remove custom metadata from the Properties pane, most likely using a collection dialog box, much like with collections for various controls (such as ListView or TabControl) or possibly something simpler or more specific. Sun, 07 Dec 2008 06:42:54 Z2008-12-07T06:42:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/770f5798-03d9-4c04-b5f0-2243e03b8fd7http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/770f5798-03d9-4c04-b5f0-2243e03b8fd7shilpi1972http://social.msdn.microsoft.com/Profile/en-US/?user=shilpi1972Create a Powerpoint File using C Sharp I have an application which creates chart images on the fly and outputs them as an HTML table .From the HTML Table I need to insert them into a PowerPoint template that has the placeholders for the images.  Can someone help/point me in the right direction in how I can place the images in the appropriate locations on the PowerPoint template?<br>Tue, 11 Nov 2008 21:25:36 Z2008-11-15T01:52:33Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/97a1189b-c241-447a-8dea-532746528a5ahttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/97a1189b-c241-447a-8dea-532746528a5aLouihttp://social.msdn.microsoft.com/Profile/en-US/?user=LouiTreeView control question <p>I'm using a treeview control.<br>The treeview is on a masterpage, right beside it it has the container.<br>The user  uses the treeview to navigate to aspx pages using this masterpage.<br>But on each page load the treeview nodes are collapsed to original state.<br><br> I want to maintain the nodes expanded state. </p>  How can I do that? Tue, 11 Nov 2008 19:37:12 Z2008-11-13T22:22:19Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/45a5105e-57b6-48aa-ab7b-d8dc70a69097http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/45a5105e-57b6-48aa-ab7b-d8dc70a69097marck68http://social.msdn.microsoft.com/Profile/en-US/?user=marck68wpf click once deploiment and piracy Is it possible that a hacker can make a copy of a wpf clickonce application that can be downloaded from a web site?<br><br>In other words if a wpf click once application can be downloaded from a website <br>is it possible to make a working copy of the application from the user computer <br>when the application has been just installed?<br><br>cheers<br>Tue, 11 Nov 2008 17:30:52 Z2008-11-13T22:04:37Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/6f658c9e-a15e-4835-8d08-201b51c256cbhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/6f658c9e-a15e-4835-8d08-201b51c256cbAnil Gopathihttp://social.msdn.microsoft.com/Profile/en-US/?user=Anil%20Gopathiregex pattern  i have a regex pattern in a file, i want to take the specified row which is not matching the regex pattern example regex pattern like [,X325C,][,X325D,][,X325F,],but in this i want to select [,x325A,] field?Wed, 05 Nov 2008 12:33:46 Z2008-11-12T11:33:50Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/f087eb9c-18c8-4722-9234-f15834bb3989http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/f087eb9c-18c8-4722-9234-f15834bb3989Anu Narayanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Anu%20NarayanHow to This operation has been cancelled due to restriction in effect on this computer. Please contact your system administrator. Click okI have seen a lot of times there are policies that are set at company level which can't be disabled. When you want to enable the Clickonce application to run when you have the 'Run only allowed Windows Application' GPO is enabled. <p>LaunchApp.exe<br>MyAppName.exe<br>MyAppName.exe.application<br>MyAppName.exe.deploy<br>MyAppName.exe.manifest<br>MyAppName.vshost.exe<br>dfsvc.exe<br>dfsvc.ni.exe<br>AppLaunch.exe<br>rundll32.exe <br>dfshim.dll <br>dfdll.dll</p>Fri, 07 Nov 2008 19:31:31 Z2008-11-11T02:29:14Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/611a919b-543b-4c93-909c-09d266883c70http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/611a919b-543b-4c93-909c-09d266883c70Intel x86http://social.msdn.microsoft.com/Profile/en-US/?user=Intel%20x86Windows XP Styles & Shell Property Pages<b><font size=4>Dear Users, i've got a little problem.<br> <br> I tried all possible ways i know, to add XP Styles to my property sheet but they didn't worked.<br> <br> The manifest's and InitCommonControlsEx don't worked out.<br> <br> Now i ask you, maby you have an idea how to do this.<br> <br> Thanks for any Answer<br>  <br><font style="font-size:10px"> </font></font></b> ps: i hope this is the right forum for this thread<br>Mon, 10 Nov 2008 05:34:10 Z2008-11-17T21:51:30Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/9b08bdd1-96d9-4438-903d-3bd6afdd7be9http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/9b08bdd1-96d9-4438-903d-3bd6afdd7be9Guntheriahttp://social.msdn.microsoft.com/Profile/en-US/?user=GuntheriaComputer in public placeI want to have a computer in a public place to collect emails.<br><br>I need to know:<br>--how to keep my app &quot;always on top&quot;<br>--how to keep people from being able to access windows (ctl-alt-delete)<br><br>I'm not sure if this is even a programming question or a Windows admin question. I looked around and didn't know how or where to begin. My area of interest is in web programming, so please don't throw rotten cabbage at me if the question is misplaced. <br><br>Thanks!!!<br>Sat, 08 Nov 2008 17:53:12 Z2008-11-08T21:00:08Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/00a58767-845a-4c60-a455-564bcd5c92c1http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/00a58767-845a-4c60-a455-564bcd5c92c1IveInsomniahttp://social.msdn.microsoft.com/Profile/en-US/?user=IveInsomnia.NET Framework 4.0 beta distrib Hello,<br>I've rebuild personal soft under VS10 made originally under VS 9.<br>Then I've wished to make a comparison between the two build under real condition, not on the CTP.<br>Sure .NET Framework 4.0 isn't out on XP, so my soft don't work.<br>I've seen on Technet .NET Framework 4.0 is, for now, only for Vista 32 &amp; 64 and Windows Seven.<br><br>My questions are:<br>Is there planing to be have a .NET Framework 4.0 for XP ?<br>If yes, When ? (Beta, CTP or else, like a sort of &quot;mini-distrib for testing purpose&quot; will good too.)<br><br>Thank you in advance.<br>(Sorry for my english)<hr size="1" align="left" width="25%">The PixelTue, 04 Nov 2008 08:27:00 Z2008-11-07T18:28:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/7570de8f-a7c7-44e9-8392-1ccd2ef96114http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/7570de8f-a7c7-44e9-8392-1ccd2ef96114Tan Silliksaarhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tan%20SilliksaarDigitally sign a MSI fileI created a Setup Project in VS 2008 and it builds a MSI file. Now I distribute this MSI file but it is not signed.<br>When someone tries to run the MSI, he gets a warning about the file not being signed.<br>I could not find a place where I could sign this MSI output. <br>I have a code signing certificate, I just can't find a way to use it.<br>Any ideas? ThanksFri, 07 Nov 2008 07:44:10 Z2008-11-07T09:43:06Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/28191284-5036-4190-b32b-242ff6dc3166http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/28191284-5036-4190-b32b-242ff6dc3166Avinash786$http://social.msdn.microsoft.com/Profile/en-US/?user=Avinash786%24why multiple instance of Window Service run when service starts hi,<br><br>We deployed a window service in windows server 2003, the service run on system timer, and every day it send the mail to the relevent users. <br><br>The problem happens when we stop and start the service. At the time of start, multiple instance of the service run in parallel due to this multiple emails sent to the same users in fraction of times.<br><br>How can we overcome this problemThu, 06 Nov 2008 06:30:34 Z2008-11-06T23:46:21Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/61b83795-fef2-472e-ae9b-d5f69c91ebfahttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/61b83795-fef2-472e-ae9b-d5f69c91ebfaNicu Olariuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Nicu%20OlariuGet the path from where a setup.exe (VSTO) is executed.Hi all!<br><br>I'm facing a situation where:<br><br>I'm working to deploy some addins for Office Apps: Word and Excel.<br><br>I make the setup.exe, with all the prerequisites, everything is ok, no errors or exceptions. I want to deliver the setup.exe and the msi with all the prerequisites packaged AND TO ADD an XML file (a config file more exactly), but this file I don't have to include it in the &quot;FileSystem&quot; on client's machine. So I add it outside the msi and all the packages(prerequisites).<br><br>The question that rises is: How can I get the directory from where the setup.exe will run/execute so that I know where to look for that xml file? For instance, if the user/client will unzip the installation files to D:\blabla\Word, I want to get &quot;D:\blabla\Word&quot;, or if the user double click the setup.exe from E:\NewFolder\NewFolder1\NewFolder2 I want to get &quot;E:\NewFolder\NewFolder1\NewFolder2&quot;. Is that possible?<br><br>I tried to use all of:<br><br>System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location)<br>System.Environment.CurrentDirectory<br>System.IO.Directory.GetCurrentDirectory()<br>Application.StartupPath<br><br>but the first one returns me the TARGET directory for the installation and the other 3 return: C:\Windows\System32.<br><br>Thanks,<br>Nicu<br><br> Tue, 04 Nov 2008 10:50:21 Z2008-11-06T23:43:26Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/5e08b807-5534-422e-9f96-b4daf5bf9cd8http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/5e08b807-5534-422e-9f96-b4daf5bf9cd8HeathGhttp://social.msdn.microsoft.com/Profile/en-US/?user=HeathGVista Business vs. Vista UltimateIn an effort to reduce unnecessary software development testing, does anyone know if Vista Business and Vista Ultimate share the same code base?  I know that they have different options, but is the core program basically the same?<br><br>ThanksTue, 04 Nov 2008 21:11:41 Z2008-11-05T19:37:56Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/432c82b4-ff04-43ca-bdd0-fe8331b667bahttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/432c82b4-ff04-43ca-bdd0-fe8331b667baAmdj1http://social.msdn.microsoft.com/Profile/en-US/?user=Amdj1KUKA robot & ExplorerSimI am integrating KUKA mobile tutorial 3 from KUKA'a educational framework and ExplorerSim (by TT)...<div>So that KUKA's robot will be able to move autonomously...</div><div>I have enabled it's differential drive in explorerSim.... it is now subscribed and can be controlled by the dash board....</div><div>the problem lies with the autonomous navigation...... </div><div>does KUKA robot needs bumper entity??? ExplorerSim works without it??</div><div><br></div><div>Drive is working fine... Laser is working fine.. (i.e. it is generating the map.. if we move the robot by dashboard)</div><div>Then why doesn't it move autonomously...?</div><div><br></div><div>Kindly help me with this</div><div><br></div><div><br></div>Mon, 03 Nov 2008 13:57:06 Z2008-11-05T19:18:38Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/f30edddb-4183-499b-942b-105d58a78a86http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/f30edddb-4183-499b-942b-105d58a78a86Chuck England - MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Chuck%20England%20-%20MSFTHow to Create an Inline Task<p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808">Hi, my name is Chuck England and I a Program Manager for Visual Studio’s <b>Project &amp; Build</b> team here at Microsoft. This includes the Project System inside Visual Studio, MSBuild (shipped as part of the framework), and SCCI integration in Visual Studio.</font></p> <p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"> </font></p> <p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808">The <b>Project System</b> is the integral part of Visual Studio that manages your project(s) and solutions. You probably recognize it most as the system you interact with to setup, add files to, and manage your projects and solutions.</font></p> <p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"> </font></p> <p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"><b>MSBuild</b> is a complete build environment. Through its XML file format, you define the build as a set of properties and items that build targets. These targets may be built from our predefined set of tasks, or from those you define yourself.<br><br></font></p> <p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808">With this new release of Visual Studio, we have made significant additions and improvements to the Project System and MSBuild.<br><br></p> <ul> <li>Walkthrough: <b><font color="#080808" size=2>How to Create an Inline Task</font></b></li> <ul> <li>In this walkthrough, &quot;</font><font style="font-size:9.5pt" face=Symbol color="#080808"><font style="font-size:9.5pt" face=Symbol color="#080808"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"><b>How to Create an Inline Task</b>&quot;, we are highlighting our new feature &quot;<b>Inline Tasks</b>&quot; that allows you to write tasks in C# right inside your MSBuild (Project) file. This means you no longer have to build a separate assembly. It helps make custom build steps easy. Our sample walkthrough highlights how you might write a custom build rule to send an email when your build is complete.</font></font></font></li></ul></ul> <p> </p><font style="font-size:9.5pt" face=Symbol color="#080808"><font style="font-size:9.5pt" face=Symbol color="#080808"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"> <p></font><font style="font-size:9.5pt" face=Symbol color="#080808"><font style="font-size:9.5pt" face=Symbol color="#080808"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808">We are really looking forward to hear your feedback. Please let us know what you think about the our scenarios in these walkthroughs, as well as other feedback you may have. We are interested in hearing about your overall experience and your thoughts about these new features into Visual Studio!<br><br>If you have not downloaded or would like more information about the CTP, please visit <a href="http://go.microsoft.com/fwlink/?LinkId=129231"><font color="#0000ff">http://go.microsoft.com/fwlink/?LinkId=129231</font></a>.  <br><br>Thanks,<br><br></p></font> <p style="margin:0in 0in 0pt"></p> <p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808"><b>Chuck England</b></font></p> <p style="margin:0in 0in 0pt"><font style="font-size:9.5pt" face="'Verdana','sans-serif'" color="#080808">Visual Studio Platform<br>Program Manager – Project and Build</font></p> <p style="margin:0in 0in 0pt"><font face=Calibri><br><img class=AvatarImage id="ctl00_MainContentPlaceHolder_ProfileUserControl1_AvatarImage" src="http://i2.social.microsoft.com/Image.avatr?size=ExtraLarge&amp;user=Chuck England - MSFT&amp;id=00000000-0000-0000-0000-000000000000"></font></p></font></font></font></font>Sat, 25 Oct 2008 00:47:24 Z2008-11-01T12:44:22Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/738a383f-3dc4-4121-9240-f1c2ec647b11http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/738a383f-3dc4-4121-9240-f1c2ec647b11Archimagushttp://social.msdn.microsoft.com/Profile/en-US/?user=ArchimagusRussian Vista LocalizationI am working on the localization of our software and the application won't launch in Russian Vista.  I have tracked the problem down to the file MFC80RUS.dll or more specifically the fact that the file does not exist.  The application does launch under Russian XP.  Also MFC80PTG.dll (portuguese) also does not exist, but the application launches under portuguese Vista as well as XP.  It seems that when the primary Localized MFC dll does not exist that it searches for a sub language or something like that.  Does anyone have any idea why the Russian Vista version would not have a fall back?<hr size="1" align="left" width="25%">Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.Thu, 30 Oct 2008 18:26:28 Z2008-10-31T15:59:05Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/00887d48-bc2b-4734-a924-ec8d99f43546http://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/00887d48-bc2b-4734-a924-ec8d99f43546Anks27http://social.msdn.microsoft.com/Profile/en-US/?user=Anks27how to run dotnet application in Linux(fedora) using Grasshopper. Sir,<br><br>    How to install Grasshopper?then how to run dotnet application in linux?means i wanna knw that What is Grasshoper and mono?and what my further step to run dotnet website in linux(fedora)?give me sum tips abt that.<br><br>Thanks<br>Anks Shah<br><br>Email-id:-ankit_2705@yahoo.co.inSun, 31 Aug 2008 05:35:51 Z2008-10-30T23:20:17Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/c4db4ce3-7a86-438c-81c7-82be7b2ad9behttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/c4db4ce3-7a86-438c-81c7-82be7b2ad9beRodrigo Dominguezhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rodrigo%20DominguezHow to use a different compiler from the IDEHi,<br><br>I am using Visual Studio 2005 Express Edition. How do I change the compiler used to build my project? I want to use icc.exe instead of cl.exe. I have looked everywhere but I can't find it!<br><br>Thank you,<br><br>Rodrigo<br> Tue, 28 Oct 2008 23:53:13 Z2008-10-31T15:30:35Zhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/42a56d30-30e7-46ea-8260-3febe23b4d2fhttp://social.msdn.microsoft.com/Forums/en-US/vs2010ctpdeploy/thread/42a56d30-30e7-46ea-8260-3febe23b4d2fKav Latiolaishttp://social.msdn.microsoft.com/Profile/en-US/?user=Kav%20LatiolaisMulti-Targeting<p dir=ltr style="margin-right:0px">Hello everyone.  I'm Kav Latiolais, Program Manager on Visual Studio for <b>Multi-Targeting</b> in Visual Studio 2010.  <br><b><br>Multi-Targeting</b> encompasses a series of features throughout Visual Studio that offer users a first class experience when targeting various framework versions.  This means for example that the user is showing type information for their target and designer surface area behaves as it would on the user's target.  In Visual Studio 2008 we offered support for frameworks 2.0, 3.0 and 3.5 on CLR2.  In Visual Studio 2010 we've extended Multi-Targeting to support the new CLR4.  Further we've moved to a data driven, extensible, multi-targeting model which will enable Visual Studio 2010 to target selected future releases of the framework without significant servicing.  <br><br><u>Multi-Targeting Walkthrough:</u> For the CTP we've enabled a quick code focused multi-targeting scenario to highlight the core IDE changes that underpin target specific experiences.  In this walkthrough you will quickly see some of the differences in the IDE that arise from targeting different versions of the .NET Framework.<br><br><font face=Verdana>If you have not downloaded or would like more information about the CTP, please visit </font><a href="http://go.microsoft.com/fwlink/?LinkId=129231"><font face=Verdana color="#0000ff">http://go.microsoft.com/fwlink/?LinkId=129231</font></a><font face=Verdana>.<br><br>Thanks,<br><b>Kav Latiolais<br></b>Program Manager<br>Visual Studio Platform<br><img class=AvatarImage id="ctl00_MainContentPlaceHolder_ProfileUserControl1_AvatarImage" src="http://i1.social.microsoft.com/Image.avatr?size=ExtraLarge&amp;user=Kav Latiolais&amp;id=efcdfb29-46cb-4a6c-8a88-17be3b2af2dc"></font></p>Mon, 27 Oct 2008 22:59:16 Z2008-10-27T22:59:18Z