<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[R25 - Compile plugin issue]]></title><description><![CDATA[<p dir="auto">Hi Guys,</p>
<p dir="auto">Trying to compile our plugins for R25 but running into some visual studio issues.</p>
<p dir="auto">Using the latest Visual studio and project tools.</p>
<p dir="auto">Severity	Code	Description	Project	File	Line	Suppression State<br />
Error	MSB8013	This project doesn't contain the Configuration and Platform combination of Debug|Win32.	customcommandline	C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets	436</p>
<p dir="auto">Hopefully you guys see what is going on!</p>
<p dir="auto">Thank you!</p>
<p dir="auto"><img src="https://www.dropandrender.com/images/vs1.png" alt="alt text" class=" img-fluid img-markdown" /></p>
]]></description><link>http://developers.maxon.net/forum/topic/13614/r25-compile-plugin-issue</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 01:48:12 GMT</lastBuildDate><atom:link href="http://developers.maxon.net/forum/topic/13614.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Sep 2021 19:58:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to R25 - Compile plugin issue on Thu, 28 Oct 2021 08:23:29 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jwzegelaar">@<bdi>jwzegelaar</bdi></a>,</p>
<p dir="auto">without any further questions, we will consider this topic as solved by Tuesday, November the 2nd and flag it accordingly.</p>
<p dir="auto">Thank you for your understanding,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/67898</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/67898</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Thu, 28 Oct 2021 08:23:29 GMT</pubDate></item><item><title><![CDATA[Reply to R25 - Compile plugin issue on Sat, 25 Sep 2021 11:46:13 GMT]]></title><description><![CDATA[<p dir="auto">Hi Ferdinand,</p>
<blockquote>
<p dir="auto">I agree, but the problem is that projecttool also does play an automated inhouse-tool role, as you might still be aware of, and there these additional files are likely not welcome.</p>
</blockquote>
<p dir="auto">I remember very well. I just didn't want to spoil any details here, without anyone from the SDK team mentioning it first <img src="http://developers.maxon.net/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=0b8ddba251d" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /><br />
It does make sense in the Maxon context where one solution hosts a multitude of projects. Just for plugin developers, it usually results in having the Project Tool generate a nice project, but then having to build the solution manually, with all included framework projects, build dependencies (even between the framework projects), and references. That's error prone, generates more support noise for you, and annoys the plugin developers <img src="http://developers.maxon.net/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=0b8ddba251d" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
<blockquote>
<p dir="auto">But I will try to find a place for this idea, which then would have to be an option of the tool on a per project basis.</p>
</blockquote>
<p dir="auto">I think there could be a very easy solution (well, at least it sounds easy... things are rarely as easy as they look on the outside, I know): The projetdefinition.txt specifies what type of file should be created:</p>
<p dir="auto">For projects:</p>
<pre><code>// Type of project - can be [Lib;DLL;App]
Type=DLL
</code></pre>
<p dir="auto">For solutions:</p>
<pre><code>Type=Solution
</code></pre>
<p dir="auto">So, why not just allow something like this:</p>
<pre><code>Type=DLL,Solution
</code></pre>
<p dir="auto">It could simply do two complete runs then, one for each element in the enumerated <code>Type</code>. It would first do a normal run for Type=DLL, and then another one for Type=Solution. That would just require Project Tool to split the Type string by comma, and then iterate over the split parts and do one complete run for each of them.</p>
<p dir="auto">That way, plugin developers could have a much improved workflow when creating new projects, and maxon developers wouldn't be bothered with unwanted files.</p>
<p dir="auto">Currently, I still check in all my plugin project files for all Cinema 4D releases I support, into the source management, because regenerating them on the fly with Project Tool (which is, as far as I remember, the original idea behind it) is just way too much work.</p>
<p dir="auto">Cheers,<br />
Frank</p>
]]></description><link>http://developers.maxon.net/forum/post/67745</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/67745</guid><dc:creator><![CDATA[fwilleke80]]></dc:creator><pubDate>Sat, 25 Sep 2021 11:46:13 GMT</pubDate></item><item><title><![CDATA[Reply to R25 - Compile plugin issue on Wed, 22 Sep 2021 14:02:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fwilleke80">@<bdi>fwilleke80</bdi></a> would indeed also make more sense to me:)</p>
]]></description><link>http://developers.maxon.net/forum/post/67733</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/67733</guid><dc:creator><![CDATA[jwzegelaar]]></dc:creator><pubDate>Wed, 22 Sep 2021 14:02:15 GMT</pubDate></item><item><title><![CDATA[Reply to R25 - Compile plugin issue on Wed, 22 Sep 2021 14:01:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/ferdinand">@<bdi>ferdinand</bdi></a> said in <a href="https://developers.maxon.net/forum/post/67722" target="_blank" rel="noopener noreferrer nofollow ugc">R25 - Compile plugin issue</a>:</p>
<blockquote>
<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jwzegelaar">@<bdi>jwzegelaar</bdi></a>,</p>
<p dir="auto">thank you for reaching out to us. Your screenshot, build error message, and the structure of the solution explorer as well as the fact that there are no frameworks in your solution explorer indicate that you have:</p>
<ol>
<li>Either opened a project in your solution instead of the solution itself. So, if you have a directory <code>\myFancysolution\</code>, then there should be a file <code>\myFancysolution\plugins\project\plugins.sln</code>, which is the one you have to always open to build or debug a solution. Your screenshot does cut unfortunately the title bar and with that the file path of the opened "thing", but it looks very much like that you have opened something along the line of <code>\myFancysolution\plugins\customcommandline\project\customcommandline.vcxproj</code>. I.e., a <em>.vcxproj</em> project file instead of a <em>.sln</em> solution file.</li>
<li>Or that your solution has been somehow corrupted. In this case I would recommend rebuilding the solution with the project tool. There are two <em>projectdefinition.txt</em> files which your solution should contain at least. One in <code>\myFancysolution\plugins\project\</code> which should define the build targets (Win64, OSX) and the included projects (at least your <em>customcommandline</em> project) and one in <code>\myFancysolution\plugins\customcommandline\project\</code> which must include the frameworks your project is using, again the target platforms, the project type (likely DLL in your case) and other things. More information on the projecttool and its features can be found in the <a href="https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_projecttool.html" target="_blank" rel="noopener noreferrer nofollow ugc">Project Tool Help Page</a>.</li>
</ol>
<p dir="auto">Cheers,<br />
Ferdinand</p>
</blockquote>
<p dir="auto">Hi Ferdinand,</p>
<p dir="auto">The solution was number 1, meaning just my lack on knowledge haha. I do this every year but was so sure i needed the open the file inside the plugin folder instead of the project folder.</p>
<p dir="auto">Will remember for next time:)</p>
<p dir="auto">Thank you for your time!</p>
]]></description><link>http://developers.maxon.net/forum/post/67732</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/67732</guid><dc:creator><![CDATA[jwzegelaar]]></dc:creator><pubDate>Wed, 22 Sep 2021 14:01:36 GMT</pubDate></item><item><title><![CDATA[Reply to R25 - Compile plugin issue on Wed, 22 Sep 2021 11:12:55 GMT]]></title><description><![CDATA[<p dir="auto">Hey Frank,</p>
<p dir="auto">I agree, but the problem is that projecttool also does play an automated inhouse-tool role, as you might still be aware of, and there these additional files are likely not welcome. But I will try to find a place for this idea, which then would have to be an option of the tool on a per project basis.</p>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/67731</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/67731</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Wed, 22 Sep 2021 11:12:55 GMT</pubDate></item><item><title><![CDATA[Reply to R25 - Compile plugin issue on Wed, 22 Sep 2021 09:50:15 GMT]]></title><description><![CDATA[<p dir="auto">It is a bit unfortunate that the project tool does not generate an .sln file along with the .vcxproj.</p>
<p dir="auto">While that makes sense for a large project, where several projects are in the same solution, and usually have to be built together, the normal plugin developer usually only has one project file, and the frameworks. They mostly have the solutoin file in the same folder as the project file. Having to effectively create the solution manually is quite error prone, as there are dependencies and references to to be added.</p>
<p dir="auto">If there was an option to generate both, the .vcxproj and the .sln file, it would make it easier for plugin developers to get going.</p>
<p dir="auto">Cheers,<br />
Frank</p>
]]></description><link>http://developers.maxon.net/forum/post/67726</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/67726</guid><dc:creator><![CDATA[fwilleke80]]></dc:creator><pubDate>Wed, 22 Sep 2021 09:50:15 GMT</pubDate></item><item><title><![CDATA[Reply to R25 - Compile plugin issue on Wed, 22 Sep 2021 07:55:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/jwzegelaar">@<bdi>jwzegelaar</bdi></a>,</p>
<p dir="auto">thank you for reaching out to us. Your screenshot, build error message, and the structure of the solution explorer as well as the fact that there are no frameworks in your solution explorer indicate that you have:</p>
<ol>
<li>Either opened a project in your solution instead of the solution itself. So, if you have a directory <code>\myFancysolution\</code>, then there should be a file <code>\myFancysolution\plugins\project\plugins.sln</code>, which is the one you have to always open to build or debug a solution. Your screenshot does cut unfortunately the title bar and with that the file path of the opened "thing", but it looks very much like that you have opened something along the line of <code>\myFancysolution\plugins\customcommandline\project\customcommandline.vcxproj</code>. I.e., a <em>.vcxproj</em> project file instead of a <em>.sln</em> solution file.</li>
<li>Or that your solution has been somehow corrupted. In this case I would recommend rebuilding the solution with the project tool. There are two <em>projectdefinition.txt</em> files which your solution should contain at least. One in <code>\myFancysolution\plugins\project\</code> which should define the build targets (Win64, OSX) and the included projects (at least your <em>customcommandline</em> project) and one in <code>\myFancysolution\plugins\customcommandline\project\</code> which must include the frameworks your project is using, again the target platforms, the project type (likely DLL in your case) and other things. More information on the projecttool and its features can be found in the <a href="https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_projecttool.html" target="_blank" rel="noopener noreferrer nofollow ugc">Project Tool Help Page</a>.</li>
</ol>
<p dir="auto">Cheers,<br />
Ferdinand</p>
]]></description><link>http://developers.maxon.net/forum/post/67722</link><guid isPermaLink="true">http://developers.maxon.net/forum/post/67722</guid><dc:creator><![CDATA[ferdinand]]></dc:creator><pubDate>Wed, 22 Sep 2021 07:55:36 GMT</pubDate></item></channel></rss>