10
Views
6
Comments
Solved
 The type or namespace name 'System' could not be found
Application Type
Traditional Web

Hi there, 

I am creating an extension using P11 Integration Studio and it is weird that every time i try to update the source code, the using System is not known. How to fix it?

regards and thanks 

Rank: #221
Solution

After some trials, i found this is caused by the packages.config  file is not copied when we have already publish the project.

To work around, 

# copy packages.config  to the proper directory

# do  

Update-Package -reinstall -Project YOurproject


regards and thanks 

Hi Ibox,

Good evening!

Have you tried reinstalling the Nuget Package of your Visual studio?

Kind regards,

Chris

Rank: #221

Hi Christ,

Good Evening. I tried this, but nothing fix it:

PM> Update-Package -reinstall -Project ProduceTest

No packages were found in packages.config for project 'ProduceTest'.

Executing nuget actions took 419 ms

Time Elapsed: 00:00:00.6148876


regards,

Rank: #1376

Hi IBox,

Try to  Restore NuGet Packages  of your Visual Studio.

Best Regards

Devendra


Rank: #246

did you change the Framewrok extension or is it different from what is installed in Outsystems?

It could also be you have created the 'wrong' type of project.


If you started the project from Integration studio this should not happen.

Rank: #221

It happens whenever i put another library from nu get package manager, say it kafka confluence, after close and publish, i open and the config is blank, and the error comes up.

Rank: #221
Solution

After some trials, i found this is caused by the packages.config  file is not copied when we have already publish the project.

To work around, 

# copy packages.config  to the proper directory

# do  

Update-Package -reinstall -Project YOurproject


regards and thanks