Publish to local folder succeeded to no files showing in the published folder in visual studio 2017

JAYASRI XNH001744 6 Reputation points
2021-06-02T06:20:28.153+00:00

I'm trying to publish vb.net project to the local folder in vs2017, its showing publish succeded but when I go to the published directory its not showing any of files

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,642 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Pieter 5 Reputation points
    2023-02-08T10:01:22.2766667+00:00

    <IsPublishable>True</IsPublishable> in your project folder worked for me

    It was set to false for some reason?

      <PropertyGroup>
        <OutputType>WinExe</OutputType>
        <TargetFramework>net6.0-windows</TargetFramework>
        <UseWPF>true</UseWPF>
        <ApplicationIcon>Binary.ico</ApplicationIcon>
        <IsPublishable>True</IsPublishable>
      </PropertyGroup>
    
    1 person found this answer helpful.
    0 comments No comments

  2. AddWebSolution 161 Reputation points
    2021-06-02T06:55:46.827+00:00

    Build your project (not rebuild)
    Other workaround is publish in debug mode first then change settings and publish in release mode. it will work

    Refer this too :-
    visual-studio-2012-web-publish-doesnt-copy-files