I currently have an interface library project in the SVN Repository(initially committed). I tried to change the keys (version number and namespace) in the Project Information and commit the changes back to the copy in the repository.
I got the error: "The given key was not present in the dictionary" when I try to commit.
The SVN commit only seems to work with the option "Automatically generate POUs for property access" in Project Information window. But this creates a conflict as the library is an interface library.
Will greatly appreciate any workarounds to this problem.
Environment: Schneider Electric SoMM v4.3
BR,
SK
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2016-06-08
Originally created by: M.Schaber
Hi,
This is a bug which clearly should not happen.
Usually, it's best to report SoM(M) problems directly to Schneider, as we have limited possibilities to debug and reproduce SoM(M) problems here at 3S.
We need a stacktrace for further diagnostics. One possibility is to send us the project ( e support@codesys.com e ) in the broken state, so we can try to reproduce it. Another possibility is that you use some diagnostic tools to capture a stack trace of the exception. (I know that we Ship our DiagnosticToolLauncher.exe with standard CODESYS, but I don't know what =S= is shipping with SoM(M) - on the other hand, Visual Studio should also work).
If the problem is related to the SVN Plugin, a workaround might be to use the "SVN Disconnect" function, then perform the modifications, and then perform an "Connect to existing project".
HTH,
Markus
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We tried with the SVN Disconnect function, but it did not do the trick for us
We have implemented a workaround, in which we manually excluded ProjectInformation from the build process for interface libraries. Right click -> Properties -> Build tab -> Exclude from build check box.
In this way, the svn was able to record the changes but still keep the interface library compilable.
I have sent an interface library as you requested
But a fix for this bug would save us a lot of time and effort
Regards,
SK
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I currently have an interface library project in the SVN Repository(initially committed). I tried to change the keys (version number and namespace) in the Project Information and commit the changes back to the copy in the repository.
I got the error: "The given key was not present in the dictionary" when I try to commit.
The SVN commit only seems to work with the option "Automatically generate POUs for property access" in Project Information window. But this creates a conflict as the library is an interface library.
Will greatly appreciate any workarounds to this problem.
Environment: Schneider Electric SoMM v4.3
BR,
SK
Originally created by: M.Schaber
Hi,
This is a bug which clearly should not happen.
Usually, it's best to report SoM(M) problems directly to Schneider, as we have limited possibilities to debug and reproduce SoM(M) problems here at 3S.
We need a stacktrace for further diagnostics. One possibility is to send us the project ( e support@codesys.com e ) in the broken state, so we can try to reproduce it. Another possibility is that you use some diagnostic tools to capture a stack trace of the exception. (I know that we Ship our DiagnosticToolLauncher.exe with standard CODESYS, but I don't know what =S= is shipping with SoM(M) - on the other hand, Visual Studio should also work).
If the problem is related to the SVN Plugin, a workaround might be to use the "SVN Disconnect" function, then perform the modifications, and then perform an "Connect to existing project".
HTH,
Markus
Hi Markus,
Thanks for your reply.
We tried with the SVN Disconnect function, but it did not do the trick for us
We have implemented a workaround, in which we manually excluded ProjectInformation from the build process for interface libraries. Right click -> Properties -> Build tab -> Exclude from build check box.
In this way, the svn was able to record the changes but still keep the interface library compilable.
I have sent an interface library as you requested
But a fix for this bug would save us a lot of time and effort
Regards,
SK