게시 기능 사용할떄 NET버전 다운그레이드

안녕하세요 현재 제가 몇가지 테스트중인데 제가 만든걸 이제 다른 PC에서
게시해서 사용해보려고 합니다

그런데 제가 집에서 만든거는 NET6라는 폴더에 생기고
다른 PC에서 돌리려고 보니 net45에서 json이 없어서 실행 불가라고 하는데 혹시 게시 할떄 NET버전을 다운그레이드 해서 게시하는방법이있을까요?

Hello @you2348

Seems that if you change the target framework in project.json you should be able to use it.

1 Like

Hello @GT_Ropa
Thank you for your answer!
But I don’t know how to change it in json
Can you tell me?

@you2348

Sure. Please open the project folder and edit the project.json in your prefered text editor.

Change te targetFramework from Windows to Legacy:
image

That should make it!

1 Like

Thank you! But after I changed it,
There’s an error when I open it
Error content is not valid for the document.
So sad…
image

@you2348

This might be caused by the wrong version of libraries, although I’m not sure. Please try to reinstall packages inside the package manager, hopefully it will help.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.