Support forum of the software localization tool Sisulizer


.NET, Delphi, ... - Sisulizer Localization Tool Support Home

Get in contact with the makers of Sisulizer.
Our forum is open for all questions around Sisulizer from customers and prospects.
Don't hesitate to register and ask. The Sisulizer team will answer ASAP.

Search     Help Home Sisulizer Website Download
Search by username
Not logged in - Login | Register 

 Moderated by: Renate.Reinartz, Markus.Kreisel, Jaakko.Salmenius, Ilkka.Salmenius
New Topic Reply Printer Friendly
SlMake overwrites my release build - Usage - Three simple steps to localize - Technical Support (You need to be registered at the forum to write) - .NET, Delphi, ... - Sisulizer Localization Tool Support
AuthorPost
 Posted: Thu Nov 12th, 2009 04:07 pm
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 39
Status: 
Offline
I recently took over as build master, and my predecessor's make script does something strange.

First it invokes MSBuild to build our solutions file, using the Release configuration.

But then it invokes SLMake create on the .slp file. This then causes SLMake to invoke MSBuild again, but this time using the Debug configuration.

This causes my pure and nice Release build to be overwritten with Debug files.

What is the correct way of doing this?

Back To Top PM Private Upload Quote Reply

 Posted: Tue Nov 17th, 2009 08:37 am
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 39
Status: 
Offline
Is the best way to do this, to run "slmake.exe create" first, then launch msbuild afterwards?

Anyone?

Back To Top PM Private Upload Quote Reply

 Posted: Tue Nov 17th, 2009 10:11 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 1876
Status: 
Offline
Hi,

The normal cycle in the GUI is:

- Create a project only once with File - New

- To update your project do not create a new one and import your translations but use Project - Scan for Changes. This will scan your new binaries and finds new and changed strings. This will also re-use existing translations.

In SLMake the general process is the same.

Hope this helps

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 20th, 2010 09:57 am
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 39
Status: 
Offline
Oops, I forgot to turn on email notifications of this topic.

The person in charge of the translation use the same project all the time, so I assume she simply scans for changes.

Running slmake however falls upon me.

Which leads back to my original question: Why is my project then built in debug configuration? I need/want the release configuration.

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 20th, 2010 10:13 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 1876
Status: 
Offline
Hi,

Sounds like your .slp points to the debug files and not to your release files. Perhaps you should double check the paths in the .slp and also in the underlying .NET project file. Something is pointing to your debug files. Remember that Sisulizer's build needs the correct binaries as a template for the localized files it creates. Sisulizer compiles your resources and links them to your binaries. So SLMake has to be the last step in your build process.

Hope this helps

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 20th, 2010 10:30 am
PM Private Upload Quote Reply
bikedude
Member
 

Joined: Thu Aug 20th, 2009
Location:  
Posts: 39
Status: 
Offline
I'm confused now. What debug files?

We launch MSBuild.exe with the /p:Configuration=Release parameter.

SLMake doesn't, so we run SLMake first and then run MSBuild afterwards to get the correct configuration.

I do suspect we're seeing some strange issues because of this, and it is hardly optimal. But allowing SLMake.exe to overwrite our binaries with the debug build configuration is a big no-no!

Back To Top PM Private Upload Quote Reply

 Posted: Wed Jan 20th, 2010 10:48 am
PM Private Upload Quote Reply
Markus.Kreisel
Administrator


Joined: Sat Apr 8th, 2006
Location: Bedburg, Germany
Posts: 1876
Status: 
Offline
Hi Mike,

Somehow you seem to point your SLMake process to an outdated configuration.

The regular way is:

a) You create your binaries with the MS compiler/linker
b) Sisulizer is used to build the needed resources. It has to point to the just created files. The build process will first scan the binaries, then build the resources and finally combine it with your compiled files. So your binaries are a combination of what is compiled in step a plus the localized resources Sisulizer builds.

a and b should be invoked from MSBuild in this order.

Since I'm not a .NET developer I have to ask our R&D for some clearing information what might happen to you.

Markus



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Fri Jan 22nd, 2010 10:50 am
PM Private Upload Quote Reply
Jaakko.Salmenius
Administrator


Joined: Sat Apr 8th, 2006
Location: Espoo, Finland
Posts: 2275
Status: 
Offline
Have you added Visual Studio project (.csproj or .sln) or assembly file (.exe) into Sisulizer project. Can you upload your project file (.slp) to me. Click Private Upload to upload it.

Jaakko



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Mon Jul 5th, 2010 02:03 pm
PM Private Upload Quote Reply
robson
Member
 

Joined: Sun Oct 18th, 2009
Location:  
Posts: 20
Status: 
Offline
Hello

I noticed that this post from few months ago, was not fianlized, and I have related issues that need your advice/help.

1. Sisulizer when configured to run in Debug/Release configuration does behave as expected and creates Debug/Release assemblies.

2. However, every time I perform "scan" operation and save the project, the configuration is overriden again back to "Debug|AnyCPU" !!!

3. As sisulizer is running on the Deployment machine to create the translation assemblies, every time we perform a scan in the command line, sisulizer later build the assemblies in Debug, and therefore triggers building missing "debug" dlls (which don't exist as this is a deployment machine with Release only dlls), ending up corrupting the deployment folder with debug and release mixup.

Please advice,
    Robert

Back To Top PM Private Upload Quote Reply

 Posted: Tue Jul 6th, 2010 11:58 am
PM Private Upload Quote Reply
Janusz Grzybek
Super Moderator


Joined: Fri Dec 1st, 2006
Location: Zabrze, Poland
Posts: 1797
Status: 
Offline
robson wrote: 1. Sisulizer when configured to run in Debug/Release configuration does behave as expected and creates Debug/Release assemblies.

2. However, every time I perform "scan" operation and save the project, the configuration is overriden again back to "Debug|AnyCPU" !!!

Thank you for reporting it. I reproduced this issue with SlMake. We let you know about fixing it.

Janusz



____________________
http://www.sisulizer.com - Three simple steps to localize
Back To Top PM Private Upload Quote Reply

 Posted: Tue Jul 13th, 2010 04:57 am
PM Private Upload Quote Reply
Jaakko.Nieminen
Administrator
 

Joined: Sat Mar 20th, 2010
Location:  
Posts: 152
Status: 
Online
The problem was that Sisulizer stores the wrong default output directory into SLP. Even if you changed configuration to Release the default output directory was still in Debug. When scanning Sisulizer fixed this but it was not stored.

I fixed this in build 307. Now the default output directory matches the selected configuration. In order to get your project in sync open it using 307, rescan it and finally save it.

Jaakko

Back To Top PM Private Upload Quote Reply

Current time is 11:33 pm  
.NET, Delphi, ... - Sisulizer Localization Tool Support > Technical Support (You need to be registered at the forum to write) > Usage - Three simple steps to localize > SlMake overwrites my release build



WowUltra modified by Sisulizer Copyright © 2007-09 by Jim Hale - Based on WowBB Copyright © 2003-2006 Aycan Gulez

Sisulizer software localization tool - Three simple steps to localize