Microsoft Robotics Studio and absolute contour issues

I just installed Microsoft Robotics Studio 2008 R2, and I must admit that I am shocked to learn how the paths are handled.

First, the studio wants to install itself in my personal profile (this is on Vista):

C:\Users\MyUserName\Microsoft Robotics Dev Studio 2008 R2

I assume that this is due to the fact that during development I have to write files to the robotics studio folder, creating C:\Program Filesa no go.

Then, when I create a new robotics project, many absolute paths are added to the project that point to a robotics studio. If I check my project for the original control, and another developer checks it on my device, absolute paths will not be resolved and the project will not be compiled.

In addition, since all services are collected in one folder in the robotics studio folder, the development of several independent services on one computer seems at least confusing.

Do you have good strategies to solve this problem?

+3
source share
3 answers

Now I understand how to change the Microsoft Robotics DSS Service visual studio project into something that you can compile and run in your own source tree, regardless of how you install the robotics studio. Here is a description of what you need to do to change the project:

  • PATH, dssproxy.exe . , .

  • . Debug\bin. .NET bin\Debug bin\Release, bin bin.

  • . , sn.exe . , , . sn.exe tools .

  • :

    dssproxy.exe /dll:"$(TargetPath)" /proxyprojectpath:"$(ProjectDir)Proxy" /keyfile:"$(SolutionDir)Key.snk" $(ProxyDelaySign) $(CompactFrameworkProxyGen) /binpath:"." @(ReferencePath->'/referencepath:"%(RootDir)%(Directory) "', ' ')

    /keyfile. , , .

  • DssHost.exe DssHost.exe.config ( DssHost32.exe DssHost32.exe.config 32- ) bin . , . . , , , XCOPY.

  • DssHost.exe . , . .

    /p:50000 /t:50001 /m:DSSService1.manifest.xml

    . , DssHost.exe.config. Windows (UAC), httpreserve, . .

    , .

Release.

+1

CCR MS Robotics, , , .

. , CCR DSS , .

0

. - "C:\program files\microsoft robotics studio". , , .. .

Another option is to use dssprojectmigration, which is included in RDS. Just run dssprojectmigration against your project directory and it will fix all hard-coded paths.

0
source

Source: https://habr.com/ru/post/1717244/


All Articles