|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
XML Comments File GeneratedThe assembly name for my project is company.dept.project.v1.0.dll
I would expect the xml file to be the same - replacing .dll with .xml but it is also dropping the last .0 and creating company.dept.project.v1.xml I abbreviated the company name to see if it was a total length problem, but got the same result. Am I missing something or is this a bug? -- Jim Hi Jim,
>I would expect the xml file to be the same - replacing .dll with .xml company.dept.project.v1.xml> but it is also dropping the last .0 and creating Would you please tell me which version of the Visual Studio you concerned? In VS2005, if you have a company.dept.project.v1.0 class library, then its corresponding xml documentation file's name would be company.dept.project.v1._0.xml, the leading underscore character in front of the number is by design. Thanks! Best regards, Gary Chang Microsoft Community Support -------------------- Get Secure! ¡§C www.microsoft.com/security Register to Access MSDN Managed Newsgroups! http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp &SD=msdn This posting is provided "AS IS" with no warranties, and confers no rights. Gary,
I am using VS 2005 8.0.50727.42 There is no underscore being added. The .0 is just being dropped. I worked around it as Jay suggested by directly editing the vbproj file -- Show quoteHide quoteJim ""Gary Chang[MSFT]"" wrote: > Hi Jim, > > >I would expect the xml file to be the same - replacing .dll with .xml > > but it is also dropping the last .0 and creating > company.dept.project.v1.xml > > Would you please tell me which version of the Visual Studio you concerned? > > In VS2005, if you have a company.dept.project.v1.0 class library, then its > corresponding xml documentation file's name would be > company.dept.project.v1._0.xml, the leading underscore character in front > of the number is by design. > > > Thanks! > > Best regards, > > Gary Chang > Microsoft Community Support > -------------------- > Get Secure! ¡§C www.microsoft.com/security > Register to Access MSDN Managed Newsgroups! > http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp > &SD=msdn > > This posting is provided "AS IS" with no warranties, and confers no rights. > > Hi Jim,
I used the same VS2005 as yours, but I cannot repro the problem on my side, the corresponding <DocumentationFile> line in my vbproj is as the following: <DocumentationFile> company.dept.project.v1._0.xml</DocumentationFile> Thanks! Best regards, Gary Chang Microsoft Community Support -------------------- Get Secure! ¡§C www.microsoft.com/security Register to Access MSDN Managed Newsgroups! http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp &SD=msdn This posting is provided "AS IS" with no warranties, and confers no rights. Gary,
I'm not 100%, I believe where my went awry was on a project where I renamed the project. It seemed like the doc file kept the original name, while the assembly gain the new name. Normally I name my projects with spaces in them, then I change the assembly name to replace the spaces with periods. In Jim's case I would name the project "company dept project v1.0", while I would name the assembly "company.dept.project.v1.0.xxx" Where xxx is either EXE or DLL. -- Show quoteHide quoteHope this helps Jay [MVP - Outlook] ..NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net ""Gary Chang[MSFT]"" <v-gar***@online.microsoft.com> wrote in message news:wO0OaqnFGHA.3680@TK2MSFTNGXA02.phx.gbl... http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp| Hi Jim, | | I used the same VS2005 as yours, but I cannot repro the problem on my side, | the corresponding <DocumentationFile> line in my vbproj is as the following: | | <DocumentationFile> company.dept.project.v1._0.xml</DocumentationFile> | | | Thanks! | | Best regards, | | Gary Chang | Microsoft Community Support | -------------------- | Get Secure! ¡§C www.microsoft.com/security | Register to Access MSDN Managed Newsgroups! | Show quoteHide quote | &SD=msdn | | This posting is provided "AS IS" with no warranties, and confers no rights. | Hi,
>I'm not 100%, I believe where my went awry was on a project where yes, the XML Comments doc will not use the new assembly automatically, I >I renamed the project. It seemed like the doc file kept the original >name, while the assembly gain the new name. think we need change it in the <DocumentationFile> line of the corresponding project file(.vbproj or .csproj) manually. Thanks for your understanding! Best regards, Gary Chang Microsoft Community Support -------------------- Get Secure! ¡§C www.microsoft.com/security Register to Access MSDN Managed Newsgroups! http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.asp &SD=msdn This posting is provided "AS IS" with no warranties, and confers no rights. Jim,
I've had a project where the files didn't match. I simply opened the project file itself in notepad & corrected the offending entry. Open: company.dept.project.v1.0.vbproj Change the <DocumentationFile> lines. As Gary suggests, the _0 appears to be required. I suspect because 0 is not a valid "namespace" identifier or some such... -- Show quoteHide quoteHope this helps Jay [MVP - Outlook] ..NET Application Architect, Enthusiast, & Evangelist T.S. Bradley - http://www.tsbradley.net "JimStone" <JimStone@newsgroups.nospam> wrote in message news:1ADE11A3-CB1A-403C-AAF5-5F279655A3ED@microsoft.com... | The assembly name for my project is company.dept.project.v1.0.dll | | I would expect the xml file to be the same - replacing .dll with .xml but | it is also dropping the last .0 and creating company.dept.project.v1.xml | | I abbreviated the company name to see if it was a total length problem, but | got the same result. | | Am I missing something or is this a bug? | -- | Jim |
|||||||||||||||||||||||