Nopcommerce: linux build error on project ClearPluginAssemblies

Created on 7 Jul 2018  路  5Comments  路  Source: nopSolutions/nopCommerce

nopCommerce version: 4.01

Steps to reproduce the problem:
File: Build/ClearPluginAssemblies.proj

<Exec Command='dotnet "$(MSBuildProjectDirectory)\ClearPluginAssemblies.dll"

In windows the path seperator is \, but linux is / , when build the error message is like this:

The command " dotnet "/Build\ClearPluginAssemblies.dll" exited with code 1.

because \ClearPluginAssemblies.dll is wrong on linux.

Most helpful comment

maybe this?

<Exec Command="cd $(MSBuildProjectDirectory); dotnet ClearPluginAssemblies.dll" />

All 5 comments

maybe this?

<Exec Command="cd $(MSBuildProjectDirectory); dotnet ClearPluginAssemblies.dll" />

thanks. but we don't support linux yet https://github.com/nopSolutions/nopCommerce/issues/3095

Sorry I don't want to be rude, but to run dotnet core and does not support linux/macOS it's a bit weird.

I don't think it's weird. We just do it step by step.
.net core is not introduced just for Linux support
.net core can be also run on windows and has its advandages on Windows as well

@AndreiMaz All good just thought linux/macOS support will come with 4.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

a-patel picture a-patel  路  5Comments

tigran-avdalyan picture tigran-avdalyan  路  5Comments

mariannk picture mariannk  路  5Comments

rustybox picture rustybox  路  7Comments

mrnams picture mrnams  路  3Comments